summaryrefslogtreecommitdiff
path: root/libopie/pim/opimmainwindow.h
Unidiff
Diffstat (limited to 'libopie/pim/opimmainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/pim/opimmainwindow.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/libopie/pim/opimmainwindow.h b/libopie/pim/opimmainwindow.h
index dca3c82..855d364 100644
--- a/libopie/pim/opimmainwindow.h
+++ b/libopie/pim/opimmainwindow.h
@@ -22,2 +22,3 @@
22class QCopChannel; 22class QCopChannel;
23class QDateTime;
23class OPimMainWindow : public QMainWindow { 24class OPimMainWindow : public QMainWindow {
@@ -58,2 +59,3 @@ protected slots:
58 59
60 virtual void doAlarm( const QDateTime&, int uid );
59 61
@@ -61,2 +63,11 @@ protected slots:
61 63
64protected:
65 /**
66 * start to play soundAlarm()
67 * @param count How many times the alarm is played
68 */
69 void startAlarm(int count = 10);
70 void killAlarm();
71 void timerEvent( QTimerEvent* );
72
62private slots: 73private slots:
@@ -75,3 +86,5 @@ private:
75 OPimRecord* m_fallBack; 86 OPimRecord* m_fallBack;
76 87 int m_alarmCount;
88 int m_playedCount;
89 int m_timerId;
77 /* I would love to do this as a template 90 /* I would love to do this as a template
@@ -80,5 +93,2 @@ private:
80 */ 93 */
81 /*
82 * the only pointer in the whole PIM API :(
83 */
84 virtual OPimRecord* record( int rtti, const QByteArray& ) ; 94 virtual OPimRecord* record( int rtti, const QByteArray& ) ;