-rw-r--r-- | kalarmd/alarmdialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kalarmd/alarmdialog.h b/kalarmd/alarmdialog.h index 1e4636c..52e681a 100644 --- a/kalarmd/alarmdialog.h +++ b/kalarmd/alarmdialog.h | |||
@@ -41,37 +41,39 @@ class QString; | |||
41 | class AlarmDialog : public QDialog { | 41 | class AlarmDialog : public QDialog { |
42 | Q_OBJECT | 42 | Q_OBJECT |
43 | public: | 43 | public: |
44 | AlarmDialog( QWidget *parent = 0, const char *name = 0 ); | 44 | AlarmDialog( QWidget *parent = 0, const char *name = 0 ); |
45 | virtual ~AlarmDialog(); | 45 | virtual ~AlarmDialog(); |
46 | 46 | ||
47 | bool eventNotification(QString m, int replay , QString m2 , bool, int, int ); | 47 | bool eventNotification(QString m, int replay , QString m2 , bool, int, int ); |
48 | int getSuspendTime( ); | 48 | int getSuspendTime( ); |
49 | void setSuspendTime( int ); | 49 | void setSuspendTime( int ); |
50 | void setServerNotification( bool b ); | 50 | void setServerNotification( bool b ); |
51 | 51 | ||
52 | public slots: | 52 | public slots: |
53 | void forceRepaint(); | ||
53 | void spinBoxChanged( int ); | 54 | void spinBoxChanged( int ); |
54 | void slotOk(); | 55 | void slotOk(); |
55 | void slotSuspend(); | 56 | void slotSuspend(); |
56 | void reject () ; | 57 | void reject () ; |
57 | void silent () ; | 58 | void silent () ; |
58 | void accept(); | 59 | void accept(); |
59 | void suspend(); | 60 | void suspend(); |
60 | void playSound (); | 61 | void playSound (); |
61 | signals: | 62 | signals: |
62 | // void suspendSignal(int duration); | 63 | // void suspendSignal(int duration); |
63 | void addAlarm(const QDateTime &, const QString & ); | 64 | void addAlarm(const QDateTime &, const QString & ); |
64 | 65 | ||
65 | private: | 66 | private: |
67 | QPushButton* okbut; | ||
66 | int alarmCounter; | 68 | int alarmCounter; |
67 | int mPauseCount; | 69 | int mPauseCount; |
68 | int mSuspendCounter; | 70 | int mSuspendCounter; |
69 | int maxAlarmReplay; | 71 | int maxAlarmReplay; |
70 | QTimer* playSoundTimer; | 72 | QTimer* playSoundTimer; |
71 | bool mStopAlarm; | 73 | bool mStopAlarm; |
72 | bool mSilent; | 74 | bool mSilent; |
73 | bool mPlayWav; | 75 | bool mPlayWav; |
74 | bool mServerNotification; | 76 | bool mServerNotification; |
75 | QLabel* mMessage; | 77 | QLabel* mMessage; |
76 | QLabel* mMissedAlarms; | 78 | QLabel* mMissedAlarms; |
77 | QSpinBox *mSuspendSpin; | 79 | QSpinBox *mSuspendSpin; |