summaryrefslogtreecommitdiffstats
path: root/kalarm/alarmtimewidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/alarmtimewidget.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/alarmtimewidget.h')
-rw-r--r--kalarm/alarmtimewidget.h24
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