summaryrefslogtreecommitdiffstats
path: root/kalarm/deferdlg.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/deferdlg.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/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);