summaryrefslogtreecommitdiff
path: root/core/applets/vmemo/vmemo.cpp
Side-by-side diff
Diffstat (limited to 'core/applets/vmemo/vmemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index fe8ebfd..563d110 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -61,6 +61,7 @@ struct adpcm_state encoder_state;
#include "vmemo.h"
+#include <opie2/otaskbarapplet.h>
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
@@ -237,6 +238,11 @@ VMemo::VMemo( QWidget *parent, const char *_name )
VMemo::~VMemo() {
}
+int VMemo::position()
+{
+ return 6;
+}
+
void VMemo::receive( const QCString &msg, const QByteArray &data ) {
qDebug("receive");
QDataStream stream( data, IO_ReadOnly );
@@ -631,3 +637,9 @@ void VMemo::timerBreak() {
stopRecording();
QMessageBox::message("Vmemo","Vmemo recording has ended");
}
+
+Q_EXPORT_INTERFACE()
+{
+ Q_CREATE_INSTANCE( OTaskbarAppletWrapper<VMemo> );
+}
+