-rw-r--r-- | core/applets/vmemo/vmemo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h index 3972877..701663f 100644 --- a/core/applets/vmemo/vmemo.h +++ b/core/applets/vmemo/vmemo.h | |||
@@ -16,41 +16,42 @@ | |||
16 | 16 | ||
17 | #ifndef __VMEMO_H__ | 17 | #ifndef __VMEMO_H__ |
18 | #define __VMEMO_H__ | 18 | #define __VMEMO_H__ |
19 | 19 | ||
20 | #include <qwidget.h> | 20 | #include <qwidget.h> |
21 | #include <qpixmap.h> | 21 | #include <qpixmap.h> |
22 | #include <qpe/applnk.h> | 22 | #include <qpe/applnk.h> |
23 | #include <qfile.h> | 23 | #include <qfile.h> |
24 | #include <qpe/qcopenvelope_qws.h> | 24 | #include <qpe/qcopenvelope_qws.h> |
25 | 25 | ||
26 | class VMemo : public QWidget | 26 | class VMemo : public QWidget |
27 | { | 27 | { |
28 | Q_OBJECT | 28 | Q_OBJECT |
29 | public: | 29 | public: |
30 | VMemo( QWidget *parent, const char *name = NULL); | 30 | VMemo( QWidget *parent, const char *name = NULL); |
31 | ~VMemo(); | 31 | ~VMemo(); |
32 | QFile track; | 32 | QFile track; |
33 | QString fileName, errorMsg; | 33 | QString fileName, errorMsg; |
34 | 34 | ||
35 | public slots: | 35 | public slots: |
36 | void record(); | 36 | void record(); |
37 | void mousePressEvent( QMouseEvent * ); | 37 | void mousePressEvent( QMouseEvent * ); |
38 | void mouseReleaseEvent( QMouseEvent * ); | 38 | void mouseReleaseEvent( QMouseEvent * ); |
39 | void receive( const QCString &msg, const QByteArray &data ); | 39 | void receive( const QCString &msg, const QByteArray &data ); |
40 | 40 | bool startRecording(); | |
41 | void stopRecording(); | ||
41 | private: | 42 | private: |
42 | bool useAlerts; | 43 | bool useAlerts; |
43 | void paintEvent( QPaintEvent* ); | 44 | void paintEvent( QPaintEvent* ); |
44 | 45 | ||
45 | int openDSP(); | 46 | int openDSP(); |
46 | int openWAV(const char *filename); | 47 | int openWAV(const char *filename); |
47 | 48 | bool fromToggle; | |
48 | QPixmap vmemoPixmap; | 49 | QPixmap vmemoPixmap; |
49 | QCopChannel *myChannel; | 50 | QCopChannel *myChannel; |
50 | bool systemZaurus; | 51 | bool systemZaurus; |
51 | int dsp, wav, rate, speed, channels, format, resolution; | 52 | int dsp, wav, rate, speed, channels, format, resolution; |
52 | bool recording; | 53 | bool recording; |
53 | }; | 54 | }; |
54 | 55 | ||
55 | #endif // __VMEMO_H__ | 56 | #endif // __VMEMO_H__ |
56 | 57 | ||