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 e8f1d79bd..4f69be211 100644
--- a/kalarm/latecancel.cpp
+++ b/kalarm/latecancel.cpp
@@ -21,7 +21,7 @@
#include "kalarm.h"
#include <tqwidgetstack.h>
-#include <layout.h>
+#include <tqlayout.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* 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);