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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h
index 31d0a25..1bd735f 100644
--- a/core/applets/vmemo/vmemo.h
+++ b/core/applets/vmemo/vmemo.h
@@ -11,48 +11,49 @@
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 20
21#include <qwidget.h> 21#include <qwidget.h>
22#include <qpixmap.h> 22#include <qpixmap.h>
23#include <qpe/applnk.h> 23#include <qpe/applnk.h>
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
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 static int position();
35 QFile track; 36 QFile track;
36 int length; 37 int length;
37 QString fileName, errorMsg, date; 38 QString fileName, errorMsg, date;
38 QLabel* msgLabel; 39 QLabel* msgLabel;
39 QTimer *t_timer; 40 QTimer *t_timer;
40bool usingIcon, useADPCM; 41bool usingIcon, useADPCM;
41public slots: 42public slots:
42 bool record(); 43 bool record();
43 void mousePressEvent( QMouseEvent * ); 44 void mousePressEvent( QMouseEvent * );
44 void mouseReleaseEvent( QMouseEvent * ); 45 void mouseReleaseEvent( QMouseEvent * );
45 void receive( const QCString &msg, const QByteArray &data ); 46 void receive( const QCString &msg, const QByteArray &data );
46 bool startRecording(); 47 bool startRecording();
47 void stopRecording(); 48 void stopRecording();
48 void timerBreak(); 49 void timerBreak();
49private: 50private:
50 bool useAlerts; 51 bool useAlerts;
51 void paintEvent( QPaintEvent* ); 52 void paintEvent( QPaintEvent* );
52 int setToggleButton(int); 53 int setToggleButton(int);
53 int openDSP(); 54 int openDSP();
54 int openWAV(const char *filename); 55 int openWAV(const char *filename);
55 bool fromToggle; 56 bool fromToggle;
56 QPixmap vmemoPixmap; 57 QPixmap vmemoPixmap;
57 QCopChannel *myChannel; 58 QCopChannel *myChannel;
58 bool systemZaurus; 59 bool systemZaurus;