summaryrefslogtreecommitdiffstats
path: root/kalarm/latecancel.cpp
diff options
context:
space:
mode:
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();