summaryrefslogtreecommitdiff
path: root/core/applets/vmemo/vmemo.h
authorllornkcor <llornkcor>2002-07-26 01:14:13 (UTC)
committer llornkcor <llornkcor>2002-07-26 01:14:13 (UTC)
commit630a8f6e4ff5eddaee0089e383c42cc198c68ced (patch) (unidiff)
tree7d743e08c5964eb96f0fb5090d977fdf702c3f44 /core/applets/vmemo/vmemo.h
parentf3678966b4f08e9cc99b5f625c028e6f2d29a8ae (diff)
downloadopie-630a8f6e4ff5eddaee0089e383c42cc198c68ced.zip
opie-630a8f6e4ff5eddaee0089e383c42cc198c68ced.tar.gz
opie-630a8f6e4ff5eddaee0089e383c42cc198c68ced.tar.bz2
made 2nd button release stop recording, and fixed umlimited time recording
Diffstat (limited to 'core/applets/vmemo/vmemo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h
index 167af2a..9ee08ff 100644
--- a/core/applets/vmemo/vmemo.h
+++ b/core/applets/vmemo/vmemo.h
@@ -29,25 +29,25 @@
29class VMemo : public QWidget 29class VMemo : public QWidget
30{ 30{
31 Q_OBJECT 31 Q_OBJECT
32public: 32public:
33 VMemo( QWidget *parent, const char *name = NULL); 33 VMemo( QWidget *parent, const char *name = NULL);
34 ~VMemo(); 34 ~VMemo();
35 QFile track; 35 QFile track;
36 QString fileName, errorMsg; 36 QString fileName, errorMsg;
37 QLabel* msgLabel; 37 QLabel* msgLabel;
38 QTimer *t_timer; 38 QTimer *t_timer;
39bool usingIcon, useADPCM; 39bool usingIcon, useADPCM;
40public slots: 40public slots:
41 void record(); 41 bool record();
42 void mousePressEvent( QMouseEvent * ); 42 void mousePressEvent( QMouseEvent * );
43 void mouseReleaseEvent( QMouseEvent * ); 43 void mouseReleaseEvent( QMouseEvent * );
44 void receive( const QCString &msg, const QByteArray &data ); 44 void receive( const QCString &msg, const QByteArray &data );
45 bool startRecording(); 45 bool startRecording();
46 void stopRecording(); 46 void stopRecording();
47 void timerBreak(); 47 void timerBreak();
48private: 48private:
49 bool useAlerts; 49 bool useAlerts;
50 void paintEvent( QPaintEvent* ); 50 void paintEvent( QPaintEvent* );
51 int setToggleButton(int); 51 int setToggleButton(int);
52 int openDSP(); 52 int openDSP();
53 int openWAV(const char *filename); 53 int openWAV(const char *filename);