summaryrefslogtreecommitdiffstats
path: root/kalarm/timeselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/timeselector.cpp')
-rw-r--r--kalarm/timeselector.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/timeselector.cpp b/kalarm/timeselector.cpp
index 31e69d749..53e0805cb 100644
--- a/kalarm/timeselector.cpp
+++ b/kalarm/timeselector.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqhbox.h>
#include <tqwhatsthis.h>
@@ -41,18 +41,18 @@ TimeSelector::TimeSelector(const TQString& selectText, const TQString& postfix,
{
setFrameStyle(TQFrame::NoFrame);
TQVBoxLayout* topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
- TQHBoxLayout* tqlayout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
+ TQHBoxLayout* layout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
mSelect = new CheckBox(selectText, this);
- mSelect->setFixedSize(mSelect->tqsizeHint());
+ mSelect->setFixedSize(mSelect->sizeHint());
connect(mSelect, TQT_SIGNAL(toggled(bool)), TQT_SLOT(selectToggled(bool)));
TQWhatsThis::add(mSelect, selectWhatsThis);
- tqlayout->addWidget(mSelect);
+ layout->addWidget(mSelect);
TQHBox* box = new TQHBox(this); // to group widgets for TQWhatsThis text
box->setSpacing(KDialog::spacingHint());
- tqlayout->addWidget(box);
+ layout->addWidget(box);
mPeriod = new TimePeriod(allowHourMinute, box);
- mPeriod->setFixedSize(mPeriod->tqsizeHint());
+ mPeriod->setFixedSize(mPeriod->sizeHint());
mPeriod->setSelectOnStep(false);
connect(mPeriod, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(periodChanged(int)));
mSelect->setFocusWidget(mPeriod);