summaryrefslogtreecommitdiffstats
path: root/kalarm/deferdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/deferdlg.cpp')
-rw-r--r--kalarm/deferdlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kalarm/deferdlg.cpp b/kalarm/deferdlg.cpp
index 5e0e039c4..60fce82c5 100644
--- a/kalarm/deferdlg.cpp
+++ b/kalarm/deferdlg.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kglobal.h>
#include <klocale.h>
@@ -39,21 +39,21 @@
#include "deferdlg.moc"
-DeferAlarmDlg::DeferAlarmDlg(const QString& caption, const DateTime& initialDT,
- bool cancelButton, QWidget* parent, const char* name)
+DeferAlarmDlg::DeferAlarmDlg(const TQString& caption, const DateTime& initialDT,
+ bool cancelButton, TQWidget* parent, const char* name)
: KDialogBase(parent, name, true, caption, Ok|Cancel|User1, Ok, false, i18n("Cancel &Deferral"))
{
if (!cancelButton)
showButton(User1, false);
- QWidget* page = new QWidget(this);
+ TQWidget* page = new TQWidget(this);
setMainWidget(page);
- QVBoxLayout* layout = new QVBoxLayout(page, 0, spacingHint());
+ TQVBoxLayout* layout = new TQVBoxLayout(page, 0, spacingHint());
mTimeWidget = new AlarmTimeWidget(AlarmTimeWidget::DEFER_TIME, page, "timeGroup");
mTimeWidget->setDateTime(initialDT);
mTimeWidget->setMinDateTimeIsCurrent();
- connect(mTimeWidget, SIGNAL(pastMax()), SLOT(slotPastLimit()));
+ connect(mTimeWidget, TQT_SIGNAL(pastMax()), TQT_SLOT(slotPastLimit()));
layout->addWidget(mTimeWidget);
layout->addSpacing(spacingHint());
@@ -89,7 +89,7 @@ void DeferAlarmDlg::slotOk()
}
if (endTime.isValid() && mAlarmDateTime > endTime)
{
- QString text;
+ TQString text;
switch (limitType)
{
case KAEvent::LIMIT_REPETITION:
@@ -135,7 +135,7 @@ void DeferAlarmDlg::slotPastLimit()
*/
void DeferAlarmDlg::setLimit(const DateTime& limit)
{
- mLimitEventID = QString::null;
+ mLimitEventID = TQString::null;
mLimitDateTime = limit;
mTimeWidget->setMaxDateTime(mLimitDateTime);
}
@@ -144,7 +144,7 @@ void DeferAlarmDlg::setLimit(const DateTime& limit)
* Set the time limit for deferral based on the next occurrence of the alarm
* with the specified ID.
*/
-DateTime DeferAlarmDlg::setLimit(const QString& eventID)
+DateTime DeferAlarmDlg::setLimit(const TQString& eventID)
{
mLimitEventID = eventID;
const KCal::Event* kcalEvent = AlarmCalendar::getEvent(mLimitEventID);