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 aa6aa222a..e10e04e22 100644
--- a/kalarm/reminder.cpp
+++ b/kalarm/reminder.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <layout.h>
+#include <tqlayout.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->sizeHint());
+ mTime->setFixedSize(mTime->tqsizeHint());
connect(mTime, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotReminderToggled(bool)));
topLayout->addWidget(mTime);
if (showOnceOnly)
{
- TQBoxLayout* layout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
- layout->addSpacing(3*KDialog::spacingHint());
+ TQBoxLayout* tqlayout = new TQHBoxLayout(topLayout, KDialog::spacingHint());
+ tqlayout->addSpacing(3*KDialog::spacingHint());
mOnceOnly = new CheckBox(i18n_u_first_recurrence_only(), this);
- mOnceOnly->setFixedSize(mOnceOnly->sizeHint());
+ mOnceOnly->setFixedSize(mOnceOnly->tqsizeHint());
TQWhatsThis::add(mOnceOnly, i18n("Display the reminder only before the first time the alarm is scheduled"));
- layout->addWidget(mOnceOnly);
- layout->addStretch();
+ tqlayout->addWidget(mOnceOnly);
+ tqlayout->addStretch();
}
else
mOnceOnly = 0;