summaryrefslogtreecommitdiffstats
path: root/kalarm/latecancel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/latecancel.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/latecancel.cpp')
-rw-r--r--kalarm/latecancel.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kalarm/latecancel.cpp b/kalarm/latecancel.cpp
index ed5563b1d..3c7fab3b2 100644
--- a/kalarm/latecancel.cpp
+++ b/kalarm/latecancel.cpp
@@ -20,9 +20,9 @@
#include "kalarm.h"
-#include <qwidgetstack.h>
-#include <qlayout.h>
-#include <qwhatsthis.h>
+#include <tqwidgetstack.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
#include <klocale.h>
#include <kdialog.h>
@@ -32,55 +32,55 @@
// Collect these widget labels together to ensure consistent wording and
// translations across different modules.
-QString LateCancelSelector::i18n_CancelIfLate() { return i18n("Cancel if late"); }
-QString LateCancelSelector::i18n_n_CancelIfLate() { return i18n("Ca&ncel if late"); }
-QString LateCancelSelector::i18n_AutoCloseWin() { return i18n("Auto-close window after this time"); }
-QString LateCancelSelector::i18n_AutoCloseWinLC() { return i18n("Auto-close window after late-cancelation time"); }
-QString LateCancelSelector::i18n_i_AutoCloseWinLC() { return i18n("Auto-close w&indow after late-cancelation time"); }
+TQString LateCancelSelector::i18n_CancelIfLate() { return i18n("Cancel if late"); }
+TQString LateCancelSelector::i18n_n_CancelIfLate() { return i18n("Ca&ncel if late"); }
+TQString LateCancelSelector::i18n_AutoCloseWin() { return i18n("Auto-close window after this time"); }
+TQString LateCancelSelector::i18n_AutoCloseWinLC() { return i18n("Auto-close window after late-cancelation time"); }
+TQString LateCancelSelector::i18n_i_AutoCloseWinLC() { return i18n("Auto-close w&indow after late-cancelation time"); }
-LateCancelSelector::LateCancelSelector(bool allowHourMinute, QWidget* parent, const char* name)
- : QFrame(parent, name),
+LateCancelSelector::LateCancelSelector(bool allowHourMinute, TQWidget* parent, const char* name)
+ : TQFrame(parent, name),
mDateOnly(false),
mReadOnly(false),
mAutoCloseShown(false)
{
- QString whatsThis = i18n("If checked, the alarm will be canceled if it cannot be triggered within the "
+ TQString whatsThis = i18n("If checked, the alarm will be canceled if it cannot be triggered within the "
"specified period after its scheduled time. Possible reasons for not triggering "
"include your being logged off, X not running, or the alarm daemon not running.\n\n"
"If unchecked, the alarm will be triggered at the first opportunity after "
"its scheduled time, regardless of how late it is.");
- setFrameStyle(QFrame::NoFrame);
- mLayout = new QVBoxLayout(this, 0, KDialog::spacingHint());
+ setFrameStyle(TQFrame::NoFrame);
+ mLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
- mStack = new QWidgetStack(this);
- mCheckboxFrame = new QFrame(mStack);
- mCheckboxFrame->setFrameStyle(QFrame::NoFrame);
+ mStack = new TQWidgetStack(this);
+ mCheckboxFrame = new TQFrame(mStack);
+ mCheckboxFrame->setFrameStyle(TQFrame::NoFrame);
mStack->addWidget(mCheckboxFrame, 1);
- QBoxLayout* layout = new QVBoxLayout(mCheckboxFrame, 0, 0);
+ TQBoxLayout* layout = new TQVBoxLayout(mCheckboxFrame, 0, 0);
mCheckbox = new CheckBox(i18n_n_CancelIfLate(), mCheckboxFrame);
mCheckbox->setFixedSize(mCheckbox->sizeHint());
- connect(mCheckbox, SIGNAL(toggled(bool)), SLOT(slotToggled(bool)));
- QWhatsThis::add(mCheckbox, whatsThis);
+ connect(mCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool)));
+ TQWhatsThis::add(mCheckbox, whatsThis);
layout->addWidget(mCheckbox, 0, Qt::AlignAuto);
- mTimeSelectorFrame = new QFrame(mStack);
- mTimeSelectorFrame->setFrameStyle(QFrame::NoFrame);
+ mTimeSelectorFrame = new TQFrame(mStack);
+ mTimeSelectorFrame->setFrameStyle(TQFrame::NoFrame);
mStack->addWidget(mTimeSelectorFrame, 2);
- layout = new QVBoxLayout(mTimeSelectorFrame, 0, 0);
- mTimeSelector = new TimeSelector(i18n("Cancel if late by 10 minutes", "Ca&ncel if late by"), QString::null,
+ layout = new TQVBoxLayout(mTimeSelectorFrame, 0, 0);
+ mTimeSelector = new TimeSelector(i18n("Cancel if late by 10 minutes", "Ca&ncel if late by"), TQString::null,
whatsThis, i18n("Enter how late will cause the alarm to be canceled"),
allowHourMinute, mTimeSelectorFrame);
- connect(mTimeSelector, SIGNAL(toggled(bool)), SLOT(slotToggled(bool)));
+ connect(mTimeSelector, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool)));
layout->addWidget(mTimeSelector);
mLayout->addWidget(mStack);
- layout = new QHBoxLayout(mLayout, KDialog::spacingHint());
+ layout = new TQHBoxLayout(mLayout, KDialog::spacingHint());
layout->addSpacing(3*KDialog::spacingHint());
mAutoClose = new CheckBox(i18n_AutoCloseWin(), this);
mAutoClose->setFixedSize(mAutoClose->sizeHint());
- QWhatsThis::add(mAutoClose, i18n("Automatically close the alarm window after the expiry of the late-cancelation period"));
+ TQWhatsThis::add(mAutoClose, i18n("Automatically close the alarm window after the expiry of the late-cancelation period"));
layout->addWidget(mAutoClose);
layout->addStretch();