summaryrefslogtreecommitdiff
path: root/core/applets/vmemo/vmemo.h
Unidiff
Diffstat (limited to 'core/applets/vmemo/vmemo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.h8
1 files changed, 7 insertions, 1 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
@@ -26,31 +26,37 @@
26#include <qlabel.h> 26#include <qlabel.h>
27#include <qtimer.h> 27#include <qtimer.h>
28 28
29class VMemo : public QWidget 29class VMemo : public QWidget
30{ 30{
31 Q_OBJECT 31 Q_OBJECT
32
32public: 33public:
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;
41bool usingIcon, useADPCM; 43 bool usingIcon, useADPCM;
44
42public slots: 45public 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
50private: 55private:
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;