author | jeremy <jeremy> | 2002-02-15 15:47:21 (UTC) |
---|---|---|
committer | jeremy <jeremy> | 2002-02-15 15:47:21 (UTC) |
commit | ee2c9639827ea77d2ae33c56580fe99671dd8eab (patch) (side-by-side diff) | |
tree | 49988cfa5530b90b0c82a154f2805df3d35478d0 | |
parent | e6125036c4260fb9aeb40105c1ec58777678792b (diff) | |
download | opie-ee2c9639827ea77d2ae33c56580fe99671dd8eab.zip opie-ee2c9639827ea77d2ae33c56580fe99671dd8eab.tar.gz opie-ee2c9639827ea77d2ae33c56580fe99671dd8eab.tar.bz2 |
Adding support the ipaq's rec button. Not totally funtioning yet, but
getting there.
-rw-r--r-- | core/applets/vmemo/vmemo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h index ee375b0..d96cd94 100644 --- a/core/applets/vmemo/vmemo.h +++ b/core/applets/vmemo/vmemo.h @@ -21,6 +21,7 @@ #include <qpixmap.h> #include <qpe/applnk.h> #include <qfile.h> +#include <qpe/qcopenvelope_qws.h> class VMemo : public QWidget { @@ -29,10 +30,12 @@ public: VMemo( QWidget *parent, const char *name = NULL); ~VMemo(); QFile track; + public slots: void record(); void mousePressEvent( QMouseEvent * ); void mouseReleaseEvent( QMouseEvent * ); + void receive( const QCString &msg, const QByteArray &data ); private: void paintEvent( QPaintEvent* ); @@ -41,6 +44,7 @@ private: int openWAV(const char *filename); QPixmap vmemoPixmap; + QCopChannel *myChannel; bool systemZaurus; int dsp, wav, rate, speed, channels, format, resolution; bool recording; |