diff options
Diffstat (limited to 'kalarm/alarmtimewidget.h')
-rw-r--r-- | kalarm/alarmtimewidget.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kalarm/alarmtimewidget.h b/kalarm/alarmtimewidget.h index 0a93e9cf4..9e1e2535b 100644 --- a/kalarm/alarmtimewidget.h +++ b/kalarm/alarmtimewidget.h @@ -40,22 +40,22 @@ class AlarmTimeWidget : public ButtonGroup DEFER_TIME = 0x01, // "Defer to ..." NARROW = 0x02 // make a narrow widget }; - AlarmTimeWidget(const QString& groupBoxTitle, int mode, QWidget* parent = 0, const char* name = 0); - AlarmTimeWidget(int mode, QWidget* parent = 0, const char* name = 0); - DateTime getDateTime(int* minsFromNow = 0, bool checkExpired = true, bool showErrorMessage = true, QWidget** errorWidget = 0) const; + AlarmTimeWidget(const TQString& groupBoxTitle, int mode, TQWidget* parent = 0, const char* name = 0); + AlarmTimeWidget(int mode, TQWidget* parent = 0, const char* name = 0); + DateTime getDateTime(int* minsFromNow = 0, bool checkExpired = true, bool showErrorMessage = true, TQWidget** errorWidget = 0) const; void setDateTime(const DateTime&); void setMinDateTimeIsCurrent(); - void setMinDateTime(const QDateTime& = QDateTime()); + void setMinDateTime(const TQDateTime& = TQDateTime()); void setMaxDateTime(const DateTime& = DateTime()); - const QDateTime& maxDateTime() const { return mMaxDateTime; } + const TQDateTime& maxDateTime() const { return mMaxDateTime; } void setReadOnly(bool); bool anyTime() const { return mAnyTime; } void enableAnyTime(bool enable); void selectTimeFromNow(int minutes = 0); - QSize sizeHint() const { return minimumSizeHint(); } + TQSize sizeHint() const { return minimumSizeHint(); } - static QString i18n_w_TimeFromNow(); // text of 'Time from now:' radio button, with 'w' shortcut - static QString i18n_TimeAfterPeriod(); + static TQString i18n_w_TimeFromNow(); // text of 'Time from now:' radio button, with 'w' shortcut + static TQString i18n_TimeAfterPeriod(); static const int maxDelayTime; // maximum time from now signals: @@ -72,8 +72,8 @@ class AlarmTimeWidget : public ButtonGroup private: void init(int mode); void setAnyTime(); - void setMaxDelayTime(const QDateTime& now); - void setMaxMinTimeIf(const QDateTime& now); + void setMaxDelayTime(const TQDateTime& now); + void setMaxMinTimeIf(const TQDateTime& now); RadioButton* mAtTimeRadio; RadioButton* mAfterTimeRadio; @@ -81,8 +81,8 @@ class AlarmTimeWidget : public ButtonGroup TimeEdit* mTimeEdit; TimeSpinBox* mDelayTimeEdit; CheckBox* mAnyTimeCheckBox; - QDateTime mMinDateTime; // earliest allowed date/time - QDateTime mMaxDateTime; // latest allowed date/time + TQDateTime mMinDateTime; // earliest allowed date/time + TQDateTime mMaxDateTime; // latest allowed date/time int mAnyTime; // 0 = date/time is specified, 1 = only a date, -1 = uninitialised bool mAnyTimeAllowed; // 'mAnyTimeCheckBox' is enabled bool mMinDateTimeIsNow; // earliest allowed date/time is the current time |