author | llornkcor <llornkcor> | 2002-04-20 14:19:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-20 14:19:26 (UTC) |
commit | 90c114cefd8d8675fa3992b5049d01a14eb7712c (patch) (unidiff) | |
tree | 779366706fbabc90e5efcd88e54c6e7c6f7e6bfd /core/applets/vmemo/vmemo.h | |
parent | 0850b6d2e7908e66c8a14eb3e7fafcc63e0b800c (diff) | |
download | opie-90c114cefd8d8675fa3992b5049d01a14eb7712c.zip opie-90c114cefd8d8675fa3992b5049d01a14eb7712c.tar.gz opie-90c114cefd8d8675fa3992b5049d01a14eb7712c.tar.bz2 |
more informative error messages
-rw-r--r-- | core/applets/vmemo/vmemo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h index f30476f..3972877 100644 --- a/core/applets/vmemo/vmemo.h +++ b/core/applets/vmemo/vmemo.h | |||
@@ -9,47 +9,48 @@ | |||
9 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 9 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
10 | ** | 10 | ** |
11 | *********************************************************************************************/ | 11 | *********************************************************************************************/ |
12 | 12 | ||
13 | /* | 13 | /* |
14 | * $Id$ | 14 | * $Id$ |
15 | */ | 15 | */ |
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 | 34 | ||
34 | public slots: | 35 | public slots: |
35 | void record(); | 36 | void record(); |
36 | void mousePressEvent( QMouseEvent * ); | 37 | void mousePressEvent( QMouseEvent * ); |
37 | void mouseReleaseEvent( QMouseEvent * ); | 38 | void mouseReleaseEvent( QMouseEvent * ); |
38 | void receive( const QCString &msg, const QByteArray &data ); | 39 | void receive( const QCString &msg, const QByteArray &data ); |
39 | 40 | ||
40 | private: | 41 | private: |
41 | bool useAlerts; | 42 | bool useAlerts; |
42 | void paintEvent( QPaintEvent* ); | 43 | void paintEvent( QPaintEvent* ); |
43 | 44 | ||
44 | int openDSP(); | 45 | int openDSP(); |
45 | int openWAV(const char *filename); | 46 | int openWAV(const char *filename); |
46 | 47 | ||
47 | QPixmap vmemoPixmap; | 48 | QPixmap vmemoPixmap; |
48 | QCopChannel *myChannel; | 49 | QCopChannel *myChannel; |
49 | bool systemZaurus; | 50 | bool systemZaurus; |
50 | int dsp, wav, rate, speed, channels, format, resolution; | 51 | int dsp, wav, rate, speed, channels, format, resolution; |
51 | bool recording; | 52 | bool recording; |
52 | }; | 53 | }; |
53 | 54 | ||
54 | #endif // __VMEMO_H__ | 55 | #endif // __VMEMO_H__ |
55 | 56 | ||