diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/alarmtimewidget.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
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
Diffstat (limited to 'kalarm/alarmtimewidget.cpp')
-rw-r--r-- | kalarm/alarmtimewidget.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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(); } |