From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- kalarm/latecancel.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kalarm/latecancel.cpp') diff --git a/kalarm/latecancel.cpp b/kalarm/latecancel.cpp index e8f1d79bd..4f69be211 100644 --- a/kalarm/latecancel.cpp +++ b/kalarm/latecancel.cpp @@ -21,7 +21,7 @@ #include "kalarm.h" #include -#include +#include #include #include #include @@ -58,31 +58,31 @@ LateCancelSelector::LateCancelSelector(bool allowHourMinute, TQWidget* parent, c mCheckboxFrame = new TQFrame(mStack); mCheckboxFrame->setFrameStyle(TQFrame::NoFrame); mStack->addWidget(mCheckboxFrame, 1); - TQBoxLayout* layout = new TQVBoxLayout(mCheckboxFrame, 0, 0); + TQBoxLayout* tqlayout = new TQVBoxLayout(mCheckboxFrame, 0, 0); mCheckbox = new CheckBox(i18n_n_CancelIfLate(), mCheckboxFrame); - mCheckbox->setFixedSize(mCheckbox->sizeHint()); + mCheckbox->setFixedSize(mCheckbox->tqsizeHint()); connect(mCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool))); TQWhatsThis::add(mCheckbox, whatsThis); - layout->addWidget(mCheckbox, 0, TQt::AlignAuto); + tqlayout->addWidget(mCheckbox, 0, TQt::AlignAuto); mTimeSelectorFrame = new TQFrame(mStack); mTimeSelectorFrame->setFrameStyle(TQFrame::NoFrame); mStack->addWidget(mTimeSelectorFrame, 2); - layout = new TQVBoxLayout(mTimeSelectorFrame, 0, 0); + tqlayout = new TQVBoxLayout(mTimeSelectorFrame, 0, 0); mTimeSelector = new TimeSelector(i18n("Cancel if late by 10 minutes", "Ca&ncel if late by"), TQString(), whatsThis, i18n("Enter how late will cause the alarm to be canceled"), allowHourMinute, mTimeSelectorFrame); connect(mTimeSelector, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool))); - layout->addWidget(mTimeSelector); + tqlayout->addWidget(mTimeSelector); mLayout->addWidget(mStack); - layout = new TQHBoxLayout(mLayout, KDialog::spacingHint()); - layout->addSpacing(3*KDialog::spacingHint()); + tqlayout = new TQHBoxLayout(mLayout, KDialog::spacingHint()); + tqlayout->addSpacing(3*KDialog::spacingHint()); mAutoClose = new CheckBox(i18n_AutoCloseWin(), this); - mAutoClose->setFixedSize(mAutoClose->sizeHint()); + mAutoClose->setFixedSize(mAutoClose->tqsizeHint()); TQWhatsThis::add(mAutoClose, i18n("Automatically close the alarm window after the expiry of the late-cancelation period")); - layout->addWidget(mAutoClose); - layout->addStretch(); + tqlayout->addWidget(mAutoClose); + tqlayout->addStretch(); mAutoClose->hide(); mAutoClose->setEnabled(false); -- cgit v1.2.1