summaryrefslogtreecommitdiffstats
path: root/kalarm/latecancel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kalarm/latecancel.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/latecancel.cpp')
-rw-r--r--kalarm/latecancel.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/latecancel.cpp b/kalarm/latecancel.cpp
index 3c7fab3b2..274ad9b72 100644
--- a/kalarm/latecancel.cpp
+++ b/kalarm/latecancel.cpp
@@ -58,31 +58,31 @@ LateCancelSelector::LateCancelSelector(bool allowHourMinute, TQWidget* parent, c
mCheckboxFrame = new TQFrame(mStack);
mCheckboxFrame->setFrameStyle(TQFrame::NoFrame);
mStack->addWidget(mCheckboxFrame, 1);
- TQBoxLayout* layout = new TQVBoxLayout(mCheckboxFrame, 0, 0);
+ TQBoxLayout* tqlayout = new TQVBoxLayout(mCheckboxFrame, 0, 0);
mCheckbox = new CheckBox(i18n_n_CancelIfLate(), mCheckboxFrame);
- mCheckbox->setFixedSize(mCheckbox->sizeHint());
+ mCheckbox->setFixedSize(mCheckbox->tqsizeHint());
connect(mCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool)));
TQWhatsThis::add(mCheckbox, whatsThis);
- layout->addWidget(mCheckbox, 0, Qt::AlignAuto);
+ tqlayout->addWidget(mCheckbox, 0, Qt::AlignAuto);
mTimeSelectorFrame = new TQFrame(mStack);
mTimeSelectorFrame->setFrameStyle(TQFrame::NoFrame);
mStack->addWidget(mTimeSelectorFrame, 2);
- layout = new TQVBoxLayout(mTimeSelectorFrame, 0, 0);
+ tqlayout = new TQVBoxLayout(mTimeSelectorFrame, 0, 0);
mTimeSelector = new TimeSelector(i18n("Cancel if late by 10 minutes", "Ca&ncel if late by"), TQString::null,
whatsThis, i18n("Enter how late will cause the alarm to be canceled"),
allowHourMinute, mTimeSelectorFrame);
connect(mTimeSelector, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool)));
- layout->addWidget(mTimeSelector);
+ tqlayout->addWidget(mTimeSelector);
mLayout->addWidget(mStack);
- layout = new TQHBoxLayout(mLayout, KDialog::spacingHint());
- layout->addSpacing(3*KDialog::spacingHint());
+ tqlayout = new TQHBoxLayout(mLayout, KDialog::spacingHint());
+ tqlayout->addSpacing(3*KDialog::spacingHint());
mAutoClose = new CheckBox(i18n_AutoCloseWin(), this);
- mAutoClose->setFixedSize(mAutoClose->sizeHint());
+ mAutoClose->setFixedSize(mAutoClose->tqsizeHint());
TQWhatsThis::add(mAutoClose, i18n("Automatically close the alarm window after the expiry of the late-cancelation period"));
- layout->addWidget(mAutoClose);
- layout->addStretch();
+ tqlayout->addWidget(mAutoClose);
+ tqlayout->addStretch();
mAutoClose->hide();
mAutoClose->setEnabled(false);