-rw-r--r-- | noncore/tools/clock/clock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/tools/clock/clock.h b/noncore/tools/clock/clock.h index fa12b61..00d097d 100644 --- a/noncore/tools/clock/clock.h +++ b/noncore/tools/clock/clock.h | |||
@@ -39,12 +39,13 @@ public: | |||
39 | AnalogClock( QWidget * parent = 0, const char * name = 0 ); | 39 | AnalogClock( QWidget * parent = 0, const char * name = 0 ); |
40 | 40 | ||
41 | QSizePolicy sizePolicy() const; | 41 | QSizePolicy sizePolicy() const; |
42 | 42 | ||
43 | void display( const QTime& time ); | 43 | void display( const QTime& time ); |
44 | 44 | ||
45 | |||
45 | protected: | 46 | protected: |
46 | void drawContents( QPainter *p ); | 47 | void drawContents( QPainter *p ); |
47 | 48 | ||
48 | private: | 49 | private: |
49 | 50 | ||
50 | QPixmap bg; | 51 | QPixmap bg; |
@@ -64,12 +65,14 @@ class Clock : public QVBox | |||
64 | public: | 65 | public: |
65 | Clock( QWidget * parent = 0, const char * name = 0, WFlags f=0 ); | 66 | Clock( QWidget * parent = 0, const char * name = 0, WFlags f=0 ); |
66 | ~Clock(); | 67 | ~Clock(); |
67 | QDateTime when; | 68 | QDateTime when; |
68 | bool bSound; | 69 | bool bSound; |
69 | int hour, minute, snoozeTime; | 70 | int hour, minute, snoozeTime; |
71 | static QString appName() { return QString::fromLatin1("clock"); } | ||
72 | |||
70 | private slots: | 73 | private slots: |
71 | void slotSet(); | 74 | void slotSet(); |
72 | void slotReset(); | 75 | void slotReset(); |
73 | void modeSelect(int); | 76 | void modeSelect(int); |
74 | void updateClock(); | 77 | void updateClock(); |
75 | void changeClock( bool ); | 78 | void changeClock( bool ); |