summaryrefslogtreecommitdiffstats
path: root/kalarm/reminder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/reminder.cpp')
-rw-r--r--kalarm/reminder.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/reminder.cpp b/kalarm/reminder.cpp
index e10e04e22..aa6aa222a 100644
--- a/kalarm/reminder.cpp
+++ b/kalarm/reminder.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwhatsthis.h>
#include <kglobal.h>
@@ -51,19 +51,19 @@ Reminder::Reminder(const TQString& caption, const TQString& reminderWhatsThis, c
mTime = new TimeSelector(caption, i18n("in advance"), reminderWhatsThis,
valueWhatsThis, allowHourMinute, this, "timeOption");
- mTime->setFixedSize(mTime->tqsizeHint());
+ mTime->setFixedSize(mTime->sizeHint());
connect(mTime, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotReminderToggled(bool)));
topLayout->addWidget(mTime);
if (showOnceOnly)
{
- TQBoxLayout* tqlayout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
- tqlayout->addSpacing(3*KDialog::spacingHint());
+ TQBoxLayout* layout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
+ layout->addSpacing(3*KDialog::spacingHint());
mOnceOnly = new CheckBox(i18n_u_first_recurrence_only(), this);
- mOnceOnly->setFixedSize(mOnceOnly->tqsizeHint());
+ mOnceOnly->setFixedSize(mOnceOnly->sizeHint());
TQWhatsThis::add(mOnceOnly, i18n("Display the reminder only before the first time the alarm is scheduled"));
- tqlayout->addWidget(mOnceOnly);
- tqlayout->addStretch();
+ layout->addWidget(mOnceOnly);
+ layout->addStretch();
}
else
mOnceOnly = 0;