summaryrefslogtreecommitdiffstats
path: root/kalarm/reminder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/reminder.cpp')
-rw-r--r--kalarm/reminder.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kalarm/reminder.cpp b/kalarm/reminder.cpp
index f31a2d0dd..60c603368 100644
--- a/kalarm/reminder.cpp
+++ b/kalarm/reminder.cpp
@@ -20,8 +20,8 @@
#include "kalarm.h"
-#include <qlayout.h>
-#include <qwhatsthis.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
#include <kglobal.h>
#include <klocale.h>
@@ -36,32 +36,32 @@
// Collect these widget labels together to ensure consistent wording and
// translations across different modules.
-QString Reminder::i18n_first_recurrence_only() { return i18n("Reminder for first recurrence only"); }
-QString Reminder::i18n_u_first_recurrence_only() { return i18n("Reminder for first rec&urrence only"); }
+TQString Reminder::i18n_first_recurrence_only() { return i18n("Reminder for first recurrence only"); }
+TQString Reminder::i18n_u_first_recurrence_only() { return i18n("Reminder for first rec&urrence only"); }
-Reminder::Reminder(const QString& caption, const QString& reminderWhatsThis, const QString& valueWhatsThis,
- bool allowHourMinute, bool showOnceOnly, QWidget* parent, const char* name)
- : QFrame(parent, name),
+Reminder::Reminder(const TQString& caption, const TQString& reminderWhatsThis, const TQString& valueWhatsThis,
+ bool allowHourMinute, bool showOnceOnly, TQWidget* parent, const char* name)
+ : TQFrame(parent, name),
mReadOnly(false),
mOnceOnlyEnabled(showOnceOnly)
{
- setFrameStyle(QFrame::NoFrame);
- QVBoxLayout* topLayout = new QVBoxLayout(this, 0, KDialog::spacingHint());
+ setFrameStyle(TQFrame::NoFrame);
+ TQVBoxLayout* topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
mTime = new TimeSelector(caption, i18n("in advance"), reminderWhatsThis,
valueWhatsThis, allowHourMinute, this, "timeOption");
mTime->setFixedSize(mTime->sizeHint());
- connect(mTime, SIGNAL(toggled(bool)), SLOT(slotReminderToggled(bool)));
+ connect(mTime, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotReminderToggled(bool)));
topLayout->addWidget(mTime);
if (showOnceOnly)
{
- QBoxLayout* layout = new QHBoxLayout(topLayout, 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->sizeHint());
- QWhatsThis::add(mOnceOnly, i18n("Display the reminder only before the first time the alarm is scheduled"));
+ TQWhatsThis::add(mOnceOnly, i18n("Display the reminder only before the first time the alarm is scheduled"));
layout->addWidget(mOnceOnly);
layout->addStretch();
}