-rw-r--r-- | noncore/tools/clock/clock.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/tools/clock/clock.h b/noncore/tools/clock/clock.h index 6dbebf7..9b756b5 100644 --- a/noncore/tools/clock/clock.h +++ b/noncore/tools/clock/clock.h | |||
@@ -30,2 +30,3 @@ class QRadioButton; | |||
30 | class QPushButton; | 30 | class QPushButton; |
31 | class QDateTime; | ||
31 | 32 | ||
@@ -61,3 +62,5 @@ public: | |||
61 | ~Clock(); | 62 | ~Clock(); |
62 | 63 | QDateTime when; | |
64 | bool bSound; | ||
65 | int hour, minute, snoozeTime; | ||
63 | private slots: | 66 | private slots: |
@@ -68,2 +71,9 @@ private slots: | |||
68 | void changeClock( bool ); | 71 | void changeClock( bool ); |
72 | void slotSetAlarm(); | ||
73 | void slotSnooze(); | ||
74 | void slotToggleAlarm(); | ||
75 | void alarmOn(); | ||
76 | void alarmOff(); | ||
77 | void appMessage(const QCString& msg, const QByteArray& data); | ||
78 | void timerEvent( QTimerEvent *e ); | ||
69 | 79 | ||
@@ -72,2 +82,3 @@ private: | |||
72 | 82 | ||
83 | bool alarmBool; | ||
73 | QTimer *t; | 84 | QTimer *t; |
@@ -76,3 +87,3 @@ private: | |||
76 | QLabel *ampmLabel; | 87 | QLabel *ampmLabel; |
77 | QPushButton *set, *reset; | 88 | QPushButton *set, *reset, *alarmBtn, *snoozeBtn, *alarmOffBtn; |
78 | QRadioButton *clockRB, *swatchRB; | 89 | QRadioButton *clockRB, *swatchRB; |