diff options
Diffstat (limited to 'kalarm/repetition.cpp')
-rw-r--r-- | kalarm/repetition.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/repetition.cpp b/kalarm/repetition.cpp index b2241b716..5dac94dcf 100644 --- a/kalarm/repetition.cpp +++ b/kalarm/repetition.cpp @@ -40,8 +40,8 @@ = Button to display the Alarm Sub-Repetition dialogue. =============================================================================*/ -RepetitionButton::RepetitionButton(const TQString& caption, bool waitForInitialisation, TQWidget* parent, const char* name) - : TQPushButton(caption, parent, name), +RepetitionButton::RepetitionButton(const TQString& caption, bool waitForInitialisation, TQWidget* tqparent, const char* name) + : TQPushButton(caption, tqparent, name), mDialog(0), mInterval(0), mCount(0), @@ -149,8 +149,8 @@ void RepetitionButton::displayDialog() static const int MAX_COUNT = 9999; // maximum range for count spinbox -RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* parent, const char* name) - : KDialogBase(parent, name, true, caption, Ok|Cancel), +RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* tqparent, const char* name) + : KDialogBase(tqparent, name, true, caption, Ok|Cancel), mMaxDuration(-1), mDateOnly(false), mReadOnly(readOnly) @@ -160,7 +160,7 @@ RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* p setMainWidget(page); TQVBoxLayout* topLayout = new TQVBoxLayout(page, 0, spacing); - mTimeSelector = new TimeSelector(i18n("Repeat every 10 minutes", "&Repeat every"), TQString::null, + mTimeSelector = new TimeSelector(i18n("Repeat every 10 minutes", "&Repeat every"), TQString(), i18n("Instead of the alarm triggering just once at each recurrence, " "checking this option makes the alarm trigger multiple times at each recurrence."), i18n("Enter the time between repetitions of the alarm"), @@ -168,7 +168,7 @@ RepetitionDlg::RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* p mTimeSelector->setFixedSize(mTimeSelector->tqsizeHint()); connect(mTimeSelector, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(intervalChanged(int))); connect(mTimeSelector, TQT_SIGNAL(toggled(bool)), TQT_SLOT(repetitionToggled(bool))); - topLayout->addWidget(mTimeSelector, 0, Qt::AlignAuto); + topLayout->addWidget(mTimeSelector, 0, TQt::AlignAuto); mButtonGroup = new ButtonGroup(page, "buttonGroup"); connect(mButtonGroup, TQT_SIGNAL(buttonSet(int)), TQT_SLOT(typeClicked())); |