summaryrefslogtreecommitdiffabout
path: root/kalarmd/alarmdialog.h
authorzautrix <zautrix>2005-04-08 22:39:42 (UTC)
committer zautrix <zautrix>2005-04-08 22:39:42 (UTC)
commitc4bab697d650c249cdff45b753b9e6df2a817877 (patch) (unidiff)
tree2726d1686d42e9d3e42aae780d766df94465281a /kalarmd/alarmdialog.h
parent9667e6f2589d5b2080cca928814f382761f8dda6 (diff)
downloadkdepimpi-c4bab697d650c249cdff45b753b9e6df2a817877.zip
kdepimpi-c4bab697d650c249cdff45b753b9e6df2a817877.tar.gz
kdepimpi-c4bab697d650c249cdff45b753b9e6df2a817877.tar.bz2
alarmdialog fix
Diffstat (limited to 'kalarmd/alarmdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/alarmdialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kalarmd/alarmdialog.h b/kalarmd/alarmdialog.h
index 896cf60..1e4636c 100644
--- a/kalarmd/alarmdialog.h
+++ b/kalarmd/alarmdialog.h
@@ -29,48 +29,49 @@
29#include <qdatetime.h> 29#include <qdatetime.h>
30#include <qstring.h> 30#include <qstring.h>
31#include <qcombobox.h> 31#include <qcombobox.h>
32#include <qpushbutton.h> 32#include <qpushbutton.h>
33 33
34#include "sharp_char.h" 34#include "sharp_char.h"
35 35
36 36
37class QSpinBox; 37class QSpinBox;
38class QLabel; 38class QLabel;
39class QString; 39class QString;
40 40
41class AlarmDialog : public QDialog { 41class 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 spinBoxChanged( int );
53 void slotOk(); 54 void slotOk();
54 void slotSuspend(); 55 void slotSuspend();
55 void reject () ; 56 void reject () ;
56 void silent () ; 57 void silent () ;
57 void accept(); 58 void accept();
58 void suspend(); 59 void suspend();
59 void playSound (); 60 void playSound ();
60 signals: 61 signals:
61 // void suspendSignal(int duration); 62 // void suspendSignal(int duration);
62 void addAlarm(const QDateTime &, const QString & ); 63 void addAlarm(const QDateTime &, const QString & );
63 64
64 private: 65 private:
65 int alarmCounter; 66 int alarmCounter;
66 int mPauseCount; 67 int mPauseCount;
67 int mSuspendCounter; 68 int mSuspendCounter;
68 int maxAlarmReplay; 69 int maxAlarmReplay;
69 QTimer* playSoundTimer; 70 QTimer* playSoundTimer;
70 bool mStopAlarm; 71 bool mStopAlarm;
71 bool mSilent; 72 bool mSilent;
72 bool mPlayWav; 73 bool mPlayWav;
73 bool mServerNotification; 74 bool mServerNotification;
74 QLabel* mMessage; 75 QLabel* mMessage;
75 QLabel* mMissedAlarms; 76 QLabel* mMissedAlarms;
76 QSpinBox *mSuspendSpin; 77 QSpinBox *mSuspendSpin;