summaryrefslogtreecommitdiffstats
path: root/kalarm/latecancel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kalarm/latecancel.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
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);