summaryrefslogtreecommitdiffstats
path: root/kalarm/reminder.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kalarm/reminder.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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;