summaryrefslogtreecommitdiff
path: root/inputmethods/kjumpx/keyboardimpl.h
Unidiff
Diffstat (limited to 'inputmethods/kjumpx/keyboardimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/kjumpx/keyboardimpl.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/inputmethods/kjumpx/keyboardimpl.h b/inputmethods/kjumpx/keyboardimpl.h
new file mode 100644
index 0000000..a82ec4a
--- a/dev/null
+++ b/inputmethods/kjumpx/keyboardimpl.h
@@ -0,0 +1,43 @@
1/**************************************************************************************94x78**
2**
3** This file may be distributed and/or modified under the terms of the
4** GNU General Public License version 2 as published by the Free Software
5** Foundation and appearing in the file LICENSE.GPL included in the
6** packaging of this file.
7**
8** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
9** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10**
11*********************************************************************************************/
12#ifndef KEYBOARDIMPL_H
13#define KEYBOARDIMPL_H
14
15#include <qpe/inputmethodinterface.h>
16
17class Keyboard;
18class QPixmap;
19
20class KeyboardImpl : public InputMethodInterface
21{
22public:
23 KeyboardImpl();
24 virtual ~KeyboardImpl();
25
26#ifndef QT_NO_COMPONENT
27 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
28 Q_REFCOUNT
29#endif
30
31 virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f );
32 virtual void resetState();
33 virtual QPixmap *icon();
34 virtual QString name();
35 virtual void onKeyPress( QObject *receiver, const char *slot );
36
37private:
38 Keyboard *input;
39 QPixmap *icn;
40 ulong ref;
41};
42
43#endif