summaryrefslogtreecommitdiff
path: root/noncore/tools/clock/clock.h
Unidiff
Diffstat (limited to 'noncore/tools/clock/clock.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/clock/clock.h17
1 files changed, 14 insertions, 3 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;
30class QPushButton; 30class QPushButton;
31class QDateTime;
31 32
@@ -37,3 +38,3 @@ public:
37 AnalogClock( QWidget * parent = 0, const char * name = 0 ) 38 AnalogClock( QWidget * parent = 0, const char * name = 0 )
38 : QFrame( parent, name ), clear(false) {} 39 : QFrame( parent, name ), clear(false) {}
39 40
@@ -61,3 +62,5 @@ public:
61 ~Clock(); 62 ~Clock();
62 63 QDateTime when;
64 bool bSound;
65 int hour, minute, snoozeTime;
63private slots: 66private 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;