summaryrefslogtreecommitdiffstats
path: root/kalarm/deferdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:50:21 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kalarm/deferdlg.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kalarm/deferdlg.cpp')
-rw-r--r--kalarm/deferdlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kalarm/deferdlg.cpp b/kalarm/deferdlg.cpp
index 8c7edd3ce..059d7a79b 100644
--- a/kalarm/deferdlg.cpp
+++ b/kalarm/deferdlg.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <kglobal.h>
#include <klocale.h>
@@ -48,14 +48,14 @@ DeferAlarmDlg::DeferAlarmDlg(const TQString& caption, const DateTime& initialDT,
TQWidget* page = new TQWidget(this);
setMainWidget(page);
- TQVBoxLayout* tqlayout = new TQVBoxLayout(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, TQT_SIGNAL(pastMax()), TQT_SLOT(slotPastLimit()));
- tqlayout->addWidget(mTimeWidget);
- tqlayout->addSpacing(spacingHint());
+ layout->addWidget(mTimeWidget);
+ layout->addSpacing(spacingHint());
setButtonWhatsThis(Ok, i18n("Defer the alarm until the specified time."));
setButtonWhatsThis(User1, i18n("Cancel the deferred alarm. This does not affect future recurrences."));
@@ -107,7 +107,7 @@ void DeferAlarmDlg::slotOk()
case KAEvent::LIMIT_NONE:
break; // can't happen with a valid endTime
}
- KMessageBox::sorry(this, text.tqarg(endTime.formatLocale()));
+ KMessageBox::sorry(this, text.arg(endTime.formatLocale()));
}
else
accept();