summaryrefslogtreecommitdiffstats
path: root/kalarm/latecancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/latecancel.cpp')
-rw-r--r--kalarm/latecancel.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kalarm/latecancel.cpp b/kalarm/latecancel.cpp
index 4f69be211..e8f1d79bd 100644
--- a/kalarm/latecancel.cpp
+++ b/kalarm/latecancel.cpp
@@ -21,7 +21,7 @@
#include "kalarm.h"
#include <tqwidgetstack.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwhatsthis.h>
#include <klocale.h>
#include <kdialog.h>
@@ -58,31 +58,31 @@ LateCancelSelector::LateCancelSelector(bool allowHourMinute, TQWidget* parent, c
mCheckboxFrame = new TQFrame(mStack);
mCheckboxFrame->setFrameStyle(TQFrame::NoFrame);
mStack->addWidget(mCheckboxFrame, 1);
- TQBoxLayout* tqlayout = new TQVBoxLayout(mCheckboxFrame, 0, 0);
+ TQBoxLayout* layout = new TQVBoxLayout(mCheckboxFrame, 0, 0);
mCheckbox = new CheckBox(i18n_n_CancelIfLate(), mCheckboxFrame);
- mCheckbox->setFixedSize(mCheckbox->tqsizeHint());
+ mCheckbox->setFixedSize(mCheckbox->sizeHint());
connect(mCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool)));
TQWhatsThis::add(mCheckbox, whatsThis);
- tqlayout->addWidget(mCheckbox, 0, TQt::AlignAuto);
+ layout->addWidget(mCheckbox, 0, TQt::AlignAuto);
mTimeSelectorFrame = new TQFrame(mStack);
mTimeSelectorFrame->setFrameStyle(TQFrame::NoFrame);
mStack->addWidget(mTimeSelectorFrame, 2);
- tqlayout = new TQVBoxLayout(mTimeSelectorFrame, 0, 0);
+ layout = 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)));
- tqlayout->addWidget(mTimeSelector);
+ layout->addWidget(mTimeSelector);
mLayout->addWidget(mStack);
- tqlayout = new TQHBoxLayout(mLayout, KDialog::spacingHint());
- tqlayout->addSpacing(3*KDialog::spacingHint());
+ layout = new TQHBoxLayout(mLayout, KDialog::spacingHint());
+ layout->addSpacing(3*KDialog::spacingHint());
mAutoClose = new CheckBox(i18n_AutoCloseWin(), this);
- mAutoClose->setFixedSize(mAutoClose->tqsizeHint());
+ mAutoClose->setFixedSize(mAutoClose->sizeHint());
TQWhatsThis::add(mAutoClose, i18n("Automatically close the alarm window after the expiry of the late-cancelation period"));
- tqlayout->addWidget(mAutoClose);
- tqlayout->addStretch();
+ layout->addWidget(mAutoClose);
+ layout->addStretch();
mAutoClose->hide();
mAutoClose->setEnabled(false);