summaryrefslogtreecommitdiff
path: root/core/applets/multikeyapplet/multikey.cpp
Unidiff
Diffstat (limited to 'core/applets/multikeyapplet/multikey.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/multikeyapplet/multikey.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/applets/multikeyapplet/multikey.cpp b/core/applets/multikeyapplet/multikey.cpp
index d304f54..b36ee12 100644
--- a/core/applets/multikeyapplet/multikey.cpp
+++ b/core/applets/multikeyapplet/multikey.cpp
@@ -11,17 +11,20 @@
11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12** 12**
13**********************************************************************/ 13**********************************************************************/
14 14
15#include "multikey.h" 15#include "multikey.h"
16 16
17/* OPIE */
18#include <opie2/otaskbarapplet.h>
17#include <qpe/global.h> 19#include <qpe/global.h>
18#include <qpe/config.h> 20#include <qpe/config.h>
19#include <qpe/qcopenvelope_qws.h> 21#include <qpe/qcopenvelope_qws.h>
20#include <qpe/qpeapplication.h> 22#include <qpe/qpeapplication.h>
21 23
24/* QT */
22#include <qlabel.h> 25#include <qlabel.h>
23#include <qdir.h> 26#include <qdir.h>
24#include <qfileinfo.h> 27#include <qfileinfo.h>
25#include <qcopchannel_qws.h> 28#include <qcopchannel_qws.h>
26 29
27Multikey::Multikey(QWidget *parent) : QLabel(parent), popupMenu(this), current("EN") 30Multikey::Multikey(QWidget *parent) : QLabel(parent), popupMenu(this), current("EN")
@@ -131,6 +134,16 @@ void Multikey::message(const QCString &message, const QByteArray &data)
131 } 134 }
132 } 135 }
133 136
134 setText(current); 137 setText(current);
135 } 138 }
136} 139}
140
141int Multikey::position()
142{
143 return 10;
144}
145
146Q_EXPORT_INTERFACE()
147{
148 Q_CREATE_INSTANCE( OTaskbarAppletWrapper<Multikey> );
149}