From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/alarmtimewidget.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kalarm/alarmtimewidget.cpp') diff --git a/kalarm/alarmtimewidget.cpp b/kalarm/alarmtimewidget.cpp index 2e4263300..4ce881485 100644 --- a/kalarm/alarmtimewidget.cpp +++ b/kalarm/alarmtimewidget.cpp @@ -55,8 +55,8 @@ TQString AlarmTimeWidget::i18n_TimeAfterPeriod() /****************************************************************************** * Construct a widget with a group box and title. */ -AlarmTimeWidget::AlarmTimeWidget(const TQString& groupBoxTitle, int mode, TQWidget* parent, const char* name) - : ButtonGroup(groupBoxTitle, parent, name), +AlarmTimeWidget::AlarmTimeWidget(const TQString& groupBoxTitle, int mode, TQWidget* tqparent, const char* name) + : ButtonGroup(groupBoxTitle, tqparent, name), mMinDateTimeIsNow(false), mPastMax(false), mMinMaxTimeSet(false) @@ -67,8 +67,8 @@ AlarmTimeWidget::AlarmTimeWidget(const TQString& groupBoxTitle, int mode, TQWidg /****************************************************************************** * Construct a widget without a group box or title. */ -AlarmTimeWidget::AlarmTimeWidget(int mode, TQWidget* parent, const char* name) - : ButtonGroup(parent, name), +AlarmTimeWidget::AlarmTimeWidget(int mode, TQWidget* tqparent, const char* name) + : ButtonGroup(tqparent, name), mMinDateTimeIsNow(false), mPastMax(false), mMinMaxTimeSet(false) @@ -156,8 +156,8 @@ void AlarmTimeWidget::init(int mode) { TQGridLayout* grid = new TQGridLayout(topLayout, 2, 2, KDialog::spacingHint()); grid->addWidget(mAtTimeRadio, 0, 0); - grid->addWidget(mDateEdit, 0, 1, Qt::AlignAuto); - grid->addWidget(timeBox, 1, 1, Qt::AlignAuto); + grid->addWidget(mDateEdit, 0, 1, TQt::AlignAuto); + grid->addWidget(timeBox, 1, 1, TQt::AlignAuto); grid->setColStretch(2, 1); topLayout->addStretch(); TQBoxLayout* tqlayout = new TQHBoxLayout(topLayout, KDialog::spacingHint()); @@ -168,12 +168,12 @@ void AlarmTimeWidget::init(int mode) else { TQGridLayout* grid = new TQGridLayout(topLayout, 2, 3, KDialog::spacingHint()); - grid->addWidget(mAtTimeRadio, 0, 0, Qt::AlignAuto); - grid->addWidget(mDateEdit, 0, 1, Qt::AlignAuto); - grid->addWidget(timeBox, 0, 2, Qt::AlignAuto); + grid->addWidget(mAtTimeRadio, 0, 0, TQt::AlignAuto); + grid->addWidget(mDateEdit, 0, 1, TQt::AlignAuto); + grid->addWidget(timeBox, 0, 2, TQt::AlignAuto); grid->setRowStretch(0, 1); - grid->addWidget(mAfterTimeRadio, 1, 0, Qt::AlignAuto); - grid->addWidget(mDelayTimeEdit, 1, 1, Qt::AlignAuto); + grid->addWidget(mAfterTimeRadio, 1, 0, TQt::AlignAuto); + grid->addWidget(mDelayTimeEdit, 1, 1, TQt::AlignAuto); grid->setColStretch(3, 1); topLayout->addStretch(); } -- cgit v1.2.1