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