summaryrefslogtreecommitdiffstats
path: root/kalarm/repetition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/repetition.cpp')
-rw-r--r--kalarm/repetition.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kalarm/repetition.cpp b/kalarm/repetition.cpp
index 403250ba5..db17c9fbc 100644
--- a/kalarm/repetition.cpp
+++ b/kalarm/repetition.cpp
@@ -20,7 +20,7 @@
#include "kalarm.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwhatsthis.h>
#include <kdebug.h>
@@ -165,7 +165,7 @@ RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* p
"checking this option makes the alarm trigger multiple times at each recurrence."),
i18n("Enter the time between repetitions of the alarm"),
true, page);
- mTimeSelector->setFixedSize(mTimeSelector->tqsizeHint());
+ mTimeSelector->setFixedSize(mTimeSelector->sizeHint());
connect(mTimeSelector, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(intervalChanged(int)));
connect(mTimeSelector, TQT_SIGNAL(toggled(bool)), TQT_SLOT(repetitionToggled(bool)));
topLayout->addWidget(mTimeSelector, 0, TQt::AlignAuto);
@@ -174,38 +174,38 @@ RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* p
connect(mButtonGroup, TQT_SIGNAL(buttonSet(int)), TQT_SLOT(typeClicked()));
topLayout->addWidget(mButtonGroup);
- TQBoxLayout* vtqlayout = new TQVBoxLayout(mButtonGroup, marginHint(), spacing);
- TQBoxLayout* tqlayout = new TQHBoxLayout(vtqlayout, spacing);
+ TQBoxLayout* vlayout = new TQVBoxLayout(mButtonGroup, marginHint(), spacing);
+ TQBoxLayout* layout = new TQHBoxLayout(vlayout, spacing);
mCountButton = new RadioButton(i18n("&Number of repetitions:"), mButtonGroup);
- mCountButton->setFixedSize(mCountButton->tqsizeHint());
+ mCountButton->setFixedSize(mCountButton->sizeHint());
TQWhatsThis::add(mCountButton,
i18n("Check to specify the number of times the alarm should repeat after each recurrence"));
- tqlayout->addWidget(mCountButton);
+ layout->addWidget(mCountButton);
mCount = new SpinBox(1, MAX_COUNT, 1, mButtonGroup);
- mCount->setFixedSize(mCount->tqsizeHint());
+ mCount->setFixedSize(mCount->sizeHint());
mCount->setLineShiftStep(10);
mCount->setSelectOnStep(false);
connect(mCount, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(countChanged(int)));
TQWhatsThis::add(mCount,
i18n("Enter the number of times to trigger the alarm after its initial occurrence"));
- tqlayout->addWidget(mCount);
+ layout->addWidget(mCount);
mCountButton->setFocusWidget(mCount);
- tqlayout->addStretch();
+ layout->addStretch();
- tqlayout = new TQHBoxLayout(vtqlayout, spacing);
+ layout = new TQHBoxLayout(vlayout, spacing);
mDurationButton = new RadioButton(i18n("&Duration:"), mButtonGroup);
- mDurationButton->setFixedSize(mDurationButton->tqsizeHint());
+ mDurationButton->setFixedSize(mDurationButton->sizeHint());
TQWhatsThis::add(mDurationButton,
i18n("Check to specify how long the alarm is to be repeated"));
- tqlayout->addWidget(mDurationButton);
+ layout->addWidget(mDurationButton);
mDuration = new TimePeriod(true, mButtonGroup);
- mDuration->setFixedSize(mDuration->tqsizeHint());
+ mDuration->setFixedSize(mDuration->sizeHint());
connect(mDuration, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(durationChanged(int)));
TQWhatsThis::add(mDuration,
i18n("Enter the length of time to repeat the alarm"));
- tqlayout->addWidget(mDuration);
+ layout->addWidget(mDuration);
mDurationButton->setFocusWidget(mDuration);
- tqlayout->addStretch();
+ layout->addStretch();
mCountButton->setChecked(true);
repetitionToggled(false);