diff options
Diffstat (limited to 'kalarm/repetition.cpp')
-rw-r--r-- | kalarm/repetition.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kalarm/repetition.cpp b/kalarm/repetition.cpp index d5eae1a89..45de81cbf 100644 --- a/kalarm/repetition.cpp +++ b/kalarm/repetition.cpp @@ -174,13 +174,13 @@ 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->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->sizeHint()); mCount->setLineShiftStep(10); @@ -188,24 +188,24 @@ RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* p 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->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->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); |