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 53e0805cb..31e69d749 100644
--- a/kalarm/timeselector.cpp
+++ b/kalarm/timeselector.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <layout.h>
+#include <tqlayout.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* layout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
+ TQHBoxLayout* tqlayout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
mSelect = new CheckBox(selectText, this);
- mSelect->setFixedSize(mSelect->sizeHint());
+ mSelect->setFixedSize(mSelect->tqsizeHint());
connect(mSelect, TQT_SIGNAL(toggled(bool)), TQT_SLOT(selectToggled(bool)));
TQWhatsThis::add(mSelect, selectWhatsThis);
- layout->addWidget(mSelect);
+ tqlayout->addWidget(mSelect);
TQHBox* box = new TQHBox(this); // to group widgets for TQWhatsThis text
box->setSpacing(KDialog::spacingHint());
- layout->addWidget(box);
+ tqlayout->addWidget(box);
mPeriod = new TimePeriod(allowHourMinute, box);
- mPeriod->setFixedSize(mPeriod->sizeHint());
+ mPeriod->setFixedSize(mPeriod->tqsizeHint());
mPeriod->setSelectOnStep(false);
connect(mPeriod, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(periodChanged(int)));
mSelect->setFocusWidget(mPeriod);