summaryrefslogtreecommitdiffabout
path: root/kalarmd/simplealarmdaemonimpl.h
Unidiff
Diffstat (limited to 'kalarmd/simplealarmdaemonimpl.h') (more/less context) (show whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonimpl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.h b/kalarmd/simplealarmdaemonimpl.h
index 9b7de94..06ef91b 100644
--- a/kalarmd/simplealarmdaemonimpl.h
+++ b/kalarmd/simplealarmdaemonimpl.h
@@ -48,50 +48,52 @@ class SimpleAlarmDaemonImpl : public QLabel
48 void simulate(); 48 void simulate();
49 void showKO(); 49 void showKO();
50 void showWN(); 50 void showWN();
51 void showAdd(); 51 void showAdd();
52 void newMail(); 52 void newMail();
53 void ringSync(); 53 void ringSync();
54 void showTodo(); 54 void showTodo();
55 void writeFile(); 55 void writeFile();
56 void writeJournal(); 56 void writeJournal();
57 void slotPlayBeep( int ); 57 void slotPlayBeep( int );
58 void showTimer( ); 58 void showTimer( );
59 void confPause( int ); 59 void confPause( int );
60 void confFontSize( int );
60 void confTimer( int ); 61 void confTimer( int );
61 void saveSlot( int ); 62 void saveSlot( int );
62 void confSuspend( int ); 63 void confSuspend( int );
63 void confSound( int num ); 64 void confSound( int num );
64 void startAlarm(QString mess, QString fn ); 65 void startAlarm(QString mess, QString fn );
65 66
66 protected: 67 protected:
67 void mousePressEvent( QMouseEvent * ); 68 void mousePressEvent( QMouseEvent * );
68 69
69 private: 70 private:
70 AlarmDialog *mAlarmDialog; 71 AlarmDialog *mAlarmDialog;
71 QLabel * mTimerStartLabel; 72 QLabel * mTimerStartLabel;
72 int mPlayBeeps; 73 int mPlayBeeps;
73 int mPausePlay; 74 int mPausePlay;
74 int mSuspend; 75 int mSuspend;
75 QString mAlarmMessage; 76 QString mAlarmMessage;
76 int mTimerTime; 77 int mTimerTime;
77 int getFileNameLen( QString ); 78 int getFileNameLen( QString );
78 QPopupMenu* mPopUp, *mBeepPopUp, *mTimerPopUp, *mSoundPopUp,*mPausePopUp,*mSuspendPopUp; 79 QPopupMenu* mPopUp, *mBeepPopUp, *mTimerPopUp, *mSoundPopUp,*mPausePopUp,*mSuspendPopUp, *mFontsizePopup;
79 QDateTime mRunningTimer; 80 QDateTime mRunningTimer;
80 void fillTimerPopUp(); 81 void fillTimerPopUp();
81 QString timerMesssage; 82 QString timerMesssage;
82 QString mCustomText; 83 QString mCustomText;
83 QString mRunningTimerText; 84 QString mRunningTimerText;
84 int mCustomMinutes; 85 int mCustomMinutes;
85 int mTimerPopupConf; 86 int mTimerPopupConf;
87 int mPopupFontSize;
86 bool wavAlarm; 88 bool wavAlarm;
87}; 89};
88class KODateLabel : public QLabel 90class KODateLabel : public QLabel
89{ 91{
90 Q_OBJECT 92 Q_OBJECT
91 public: 93 public:
92 KODateLabel( QWidget *parent=0, const char *name=0 ) : 94 KODateLabel( QWidget *parent=0, const char *name=0 ) :
93 QLabel( parent, name ) 95 QLabel( parent, name )
94 { 96 {
95 hour = 0; 97 hour = 0;
96 minutes = 0; 98 minutes = 0;
97 QTimer * ti = new QTimer( this ); 99 QTimer * ti = new QTimer( this );