author | llornkcor <llornkcor> | 2005-08-11 10:10:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-08-11 10:10:40 (UTC) |
commit | 6040d26c56a95d9f5bd09688e22009fc5b5e124d (patch) (unidiff) | |
tree | 53ad03c346cc006d17093918d5cf6bbb09aa4b3b /core/applets | |
parent | 8938048502047f781447ed24351512cdca997a2e (diff) | |
download | opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.zip opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.tar.gz opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.tar.bz2 |
add opie-smb
-rw-r--r-- | core/applets/vmemo/vmemo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h index 1bd735f..806fe0e 100644 --- a/core/applets/vmemo/vmemo.h +++ b/core/applets/vmemo/vmemo.h | |||
@@ -24,35 +24,41 @@ | |||
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 | #include <qtimer.h> |
28 | 28 | ||
29 | class VMemo : public QWidget | 29 | class VMemo : public QWidget |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | |||
32 | public: | 33 | public: |
34 | |||
33 | VMemo( QWidget *parent, const char *name = NULL); | 35 | VMemo( QWidget *parent, const char *name = NULL); |
34 | ~VMemo(); | 36 | ~VMemo(); |
35 | static int position(); | 37 | static int position(); |
36 | QFile track; | 38 | QFile track; |
37 | int length; | 39 | int length; |
38 | QString fileName, errorMsg, date; | 40 | QString fileName, errorMsg, date; |
39 | QLabel* msgLabel; | 41 | QLabel* msgLabel; |
40 | QTimer *t_timer; | 42 | QTimer *t_timer; |
41 | bool usingIcon, useADPCM; | 43 | bool usingIcon, useADPCM; |
44 | |||
42 | public slots: | 45 | public slots: |
46 | |||
43 | bool record(); | 47 | bool record(); |
44 | void mousePressEvent( QMouseEvent * ); | 48 | void mousePressEvent( QMouseEvent * ); |
45 | void mouseReleaseEvent( QMouseEvent * ); | 49 | void mouseReleaseEvent( QMouseEvent * ); |
46 | void receive( const QCString &msg, const QByteArray &data ); | 50 | void receive( const QCString &msg, const QByteArray &data ); |
47 | bool startRecording(); | 51 | bool startRecording(); |
48 | void stopRecording(); | 52 | void stopRecording(); |
49 | void timerBreak(); | 53 | void timerBreak(); |
54 | |||
50 | private: | 55 | private: |
56 | |||
51 | bool useAlerts; | 57 | bool useAlerts; |
52 | void paintEvent( QPaintEvent* ); | 58 | void paintEvent( QPaintEvent* ); |
53 | int setToggleButton(int); | 59 | int setToggleButton(int); |
54 | int openDSP(); | 60 | int openDSP(); |
55 | int openWAV(const char *filename); | 61 | int openWAV(const char *filename); |
56 | bool fromToggle; | 62 | bool fromToggle; |
57 | QPixmap vmemoPixmap; | 63 | QPixmap vmemoPixmap; |
58 | QCopChannel *myChannel; | 64 | QCopChannel *myChannel; |