author | llornkcor <llornkcor> | 2002-05-26 23:41:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-26 23:41:26 (UTC) |
commit | ff4ab0f08fe935fd781be4caa245cb953e9f68ce (patch) (unidiff) | |
tree | 3a20249c724552e4437677dea4e407397afc1610 /core/applets/vmemo/vmemo.h | |
parent | f0d0d53759436686f7f15fcd55a6706b1ecaa1cc (diff) | |
download | opie-ff4ab0f08fe935fd781be4caa245cb953e9f68ce.zip opie-ff4ab0f08fe935fd781be4caa245cb953e9f68ce.tar.gz opie-ff4ab0f08fe935fd781be4caa245cb953e9f68ce.tar.bz2 |
changed visual alert to QLabel in the corner while recording, instead of nag screen when stopping recording. made pick-a-key record work
-rw-r--r-- | core/applets/vmemo/vmemo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h index 701663f..b33ab55 100644 --- a/core/applets/vmemo/vmemo.h +++ b/core/applets/vmemo/vmemo.h | |||
@@ -17,11 +17,13 @@ | |||
17 | #ifndef __VMEMO_H__ | 17 | #ifndef __VMEMO_H__ |
18 | #define __VMEMO_H__ | 18 | #define __VMEMO_H__ |
19 | 19 | ||
20 | |||
20 | #include <qwidget.h> | 21 | #include <qwidget.h> |
21 | #include <qpixmap.h> | 22 | #include <qpixmap.h> |
22 | #include <qpe/applnk.h> | 23 | #include <qpe/applnk.h> |
23 | #include <qfile.h> | 24 | #include <qfile.h> |
24 | #include <qpe/qcopenvelope_qws.h> | 25 | #include <qpe/qcopenvelope_qws.h> |
26 | #include <qlabel.h> | ||
25 | 27 | ||
26 | class VMemo : public QWidget | 28 | class VMemo : public QWidget |
27 | { | 29 | { |
@@ -31,7 +33,7 @@ public: | |||
31 | ~VMemo(); | 33 | ~VMemo(); |
32 | QFile track; | 34 | QFile track; |
33 | QString fileName, errorMsg; | 35 | QString fileName, errorMsg; |
34 | 36 | QLabel* msgLabel; | |
35 | public slots: | 37 | public slots: |
36 | void record(); | 38 | void record(); |
37 | void mousePressEvent( QMouseEvent * ); | 39 | void mousePressEvent( QMouseEvent * ); |
@@ -42,7 +44,7 @@ public slots: | |||
42 | private: | 44 | private: |
43 | bool useAlerts; | 45 | bool useAlerts; |
44 | void paintEvent( QPaintEvent* ); | 46 | void paintEvent( QPaintEvent* ); |
45 | 47 | int setToggleButton(int); | |
46 | int openDSP(); | 48 | int openDSP(); |
47 | int openWAV(const char *filename); | 49 | int openWAV(const char *filename); |
48 | bool fromToggle; | 50 | bool fromToggle; |