kalarm
reminder.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef REMINDER_H
00022 #define REMINDER_H
00023
00024 #include <tqframe.h>
00025
00026 class TimeSelector;
00027 class CheckBox;
00028
00029
00030 class Reminder : public TQFrame
00031 {
00032 Q_OBJECT
00033 TQ_OBJECT
00034 public:
00035 Reminder(const TQString& caption, const TQString& reminderWhatsThis, const TQString& valueWhatsThis,
00036 bool allowHourMinute, bool showOnceOnly, TQWidget* parent, const char* name = 0);
00037 bool isReminder() const;
00038 bool isOnceOnly() const;
00039 int minutes() const;
00040 void setMinutes(int minutes, bool dateOnly);
00041 void setReadOnly(bool);
00042 void setDateOnly(bool dateOnly);
00043 void setMaximum(int hourmin, int days);
00044 void setFocusOnCount();
00045 void setOnceOnly(bool);
00046 void enableOnceOnly(bool enable);
00047
00048 static TQString i18n_first_recurrence_only();
00049 static TQString i18n_u_first_recurrence_only();
00050
00051 protected slots:
00052 void slotReminderToggled(bool);
00053
00054 private:
00055 TimeSelector* mTime;
00056 CheckBox* mOnceOnly;
00057 bool mReadOnly;
00058 bool mOnceOnlyEnabled;
00059 };
00060
00061 #endif // REMINDER_H
|