summaryrefslogtreecommitdiff
path: root/core/applets/multikeyapplet/multikey.h
Unidiff
Diffstat (limited to 'core/applets/multikeyapplet/multikey.h') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/multikeyapplet/multikey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/multikeyapplet/multikey.h b/core/applets/multikeyapplet/multikey.h
index 1c5aa0c..acddfc8 100644
--- a/core/applets/multikeyapplet/multikey.h
+++ b/core/applets/multikeyapplet/multikey.h
@@ -3,41 +3,42 @@
3** All rights reserved. 3** All rights reserved.
4** 4**
5** This file may be distributed and/or modified under the terms of the 5** This file may be distributed and/or modified under the terms of the
6** GNU General Public License version 2 as published by the Free Software 6** GNU General Public License version 2 as published by the Free Software
7** Foundation and appearing in the file LICENSE.GPL included in the 7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file. 8** packaging of this file.
9** 9**
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
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#ifndef __MULTIKEY_H__ 14#ifndef __MULTIKEY_H__
15#define __MULTIKEY_H__ 15#define __MULTIKEY_H__
16 16
17#include <qlabel.h> 17#include <qlabel.h>
18#include <qstringlist.h> 18#include <qstringlist.h>
19#include <qpopupmenu.h> 19#include <qpopupmenu.h>
20#include <qcopchannel_qws.h> 20#include <qcopchannel_qws.h>
21 21
22class Multikey: public QLabel 22class Multikey: public QLabel
23{ 23{
24 Q_OBJECT 24 Q_OBJECT
25public: 25public:
26 Multikey(QWidget *parent); 26 Multikey(QWidget *parent);
27 static int position();
27 28
28protected: 29protected:
29 void mousePressEvent(QMouseEvent *ev); 30 void mousePressEvent(QMouseEvent *ev);
30 void mouseReleaseEvent(QMouseEvent *ev); 31 void mouseReleaseEvent(QMouseEvent *ev);
31 32
32public slots: 33public slots:
33 void message(const QCString &message, const QByteArray &data); 34 void message(const QCString &message, const QByteArray &data);
34 35
35protected: 36protected:
36 QStringList sw_maps; 37 QStringList sw_maps;
37 QStringList labels; 38 QStringList labels;
38 QPopupMenu popupMenu; 39 QPopupMenu popupMenu;
39 QString current; 40 QString current;
40 uint lang; 41 uint lang;
41}; 42};
42 43
43#endif /* __MULTIKEY_H__ */ 44#endif /* __MULTIKEY_H__ */