author | mark <mark> | 2002-02-04 22:53:18 (UTC) |
---|---|---|
committer | mark <mark> | 2002-02-04 22:53:18 (UTC) |
commit | af8212fa21bf4c747707ee314ba838b46bd8211d (patch) (unidiff) | |
tree | a907a3f80615c8ee931c158bae580f5e52042e61 /inputmethods/jumpx/keyboardimpl.h | |
parent | 61b7a750723422ad33332cbdbcb5294cc35a6326 (diff) | |
download | opie-af8212fa21bf4c747707ee314ba838b46bd8211d.zip opie-af8212fa21bf4c747707ee314ba838b46bd8211d.tar.gz opie-af8212fa21bf4c747707ee314ba838b46bd8211d.tar.bz2 |
Importing qjumpx
Diffstat (limited to 'inputmethods/jumpx/keyboardimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/jumpx/keyboardimpl.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/inputmethods/jumpx/keyboardimpl.h b/inputmethods/jumpx/keyboardimpl.h new file mode 100644 index 0000000..a82ec4a --- a/dev/null +++ b/inputmethods/jumpx/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 | |||
17 | class Keyboard; | ||
18 | class QPixmap; | ||
19 | |||
20 | class KeyboardImpl : public InputMethodInterface | ||
21 | { | ||
22 | public: | ||
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 | |||
37 | private: | ||
38 | Keyboard *input; | ||
39 | QPixmap *icn; | ||
40 | ulong ref; | ||
41 | }; | ||
42 | |||
43 | #endif | ||