author | llornkcor <llornkcor> | 2002-06-23 17:17:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-23 17:17:08 (UTC) |
commit | 7c22b9cbf92650c432a84537f4b9c3d810e7dc75 (patch) (unidiff) | |
tree | 61525d12126e87cbce8135d2717c98340a7571e3 /core/applets/vmemo/vmemo.h | |
parent | 3165f1b279a7a3a863decf06013c6275466092e5 (diff) | |
download | opie-7c22b9cbf92650c432a84537f4b9c3d810e7dc75.zip opie-7c22b9cbf92650c432a84537f4b9c3d810e7dc75.tar.gz opie-7c22b9cbf92650c432a84537f4b9c3d810e7dc75.tar.bz2 |
quick fix for ongoing recording
-rw-r--r-- | core/applets/vmemo/vmemo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h index b33ab55..51ace35 100644 --- a/core/applets/vmemo/vmemo.h +++ b/core/applets/vmemo/vmemo.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <qfile.h> | 24 | #include <qfile.h> |
25 | #include <qpe/qcopenvelope_qws.h> | 25 | #include <qpe/qcopenvelope_qws.h> |
26 | #include <qlabel.h> | 26 | #include <qlabel.h> |
27 | #include <qtimer.h> | ||
27 | 28 | ||
28 | class VMemo : public QWidget | 29 | class VMemo : public QWidget |
29 | { | 30 | { |
@@ -34,6 +35,8 @@ public: | |||
34 | QFile track; | 35 | QFile track; |
35 | QString fileName, errorMsg; | 36 | QString fileName, errorMsg; |
36 | QLabel* msgLabel; | 37 | QLabel* msgLabel; |
38 | QTimer *t_timer; | ||
39 | |||
37 | public slots: | 40 | public slots: |
38 | void record(); | 41 | void record(); |
39 | void mousePressEvent( QMouseEvent * ); | 42 | void mousePressEvent( QMouseEvent * ); |
@@ -41,6 +44,7 @@ public slots: | |||
41 | void receive( const QCString &msg, const QByteArray &data ); | 44 | void receive( const QCString &msg, const QByteArray &data ); |
42 | bool startRecording(); | 45 | bool startRecording(); |
43 | void stopRecording(); | 46 | void stopRecording(); |
47 | void timerBreak(); | ||
44 | private: | 48 | private: |
45 | bool useAlerts; | 49 | bool useAlerts; |
46 | void paintEvent( QPaintEvent* ); | 50 | void paintEvent( QPaintEvent* ); |