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.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/core/applets/multikeyapplet/multikey.h b/core/applets/multikeyapplet/multikey.h
new file mode 100644
index 0000000..2cb7b29
--- a/dev/null
+++ b/core/applets/multikeyapplet/multikey.h
@@ -0,0 +1,38 @@
1/**********************************************************************
2** Copyright (C) 2004 Anton Kachalov mouse@altlinux.ru
3** All rights reserved.
4**
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
7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file.
9**
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.
12**
13**********************************************************************/
14#ifndef __MULTIKEY_H__
15#define __MULTIKEY_H__
16
17#include <qlabel.h>
18#include <qstringlist.h>
19#include <qcopchannel_qws.h>
20
21class Multikey : public QLabel
22{
23 Q_OBJECT
24public:
25 Multikey( QWidget *parent );
26
27public slots:
28 void message(const QCString &message, const QByteArray &data);
29
30protected:
31 void mousePressEvent( QMouseEvent * );
32 QStringList sw_maps;
33 QStringList labels;
34 QString current;
35 uint lang;
36};
37
38#endif /* __MULTIKEY_H__ */