summaryrefslogtreecommitdiff
path: root/inputmethods/kjumpx/keyboardimpl.h
authorharlekin <harlekin>2002-05-30 20:36:49 (UTC)
committer harlekin <harlekin>2002-05-30 20:36:49 (UTC)
commit0d8dcd470820a8bdc90d0ab3408d123eecd01113 (patch) (unidiff)
tree388daa866fc99003e3a51c6e6734e80fe74eef2e /inputmethods/kjumpx/keyboardimpl.h
parent5ccef6fc78375e668af32138b244ec476418de1f (diff)
downloadopie-0d8dcd470820a8bdc90d0ab3408d123eecd01113.zip
opie-0d8dcd470820a8bdc90d0ab3408d123eecd01113.tar.gz
opie-0d8dcd470820a8bdc90d0ab3408d123eecd01113.tar.bz2
koran version of jumpx by Jake Richardson <jake@asdfnews.org>
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