diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/reminder.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/reminder.cpp')
-rw-r--r-- | kalarm/reminder.cpp | 24 |
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(); } |