00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef KEYBOARDIMPL_H
00013 #define KEYBOARDIMPL_H
00014
00015 #include <qpe/inputmethodinterface.h>
00016
00017 namespace JumpX
00018 {
00019 class Keyboard;
00020 };
00021 class QPixmap;
00022
00023 namespace
00024 {
00025
00026 class KeyboardImpl : public InputMethodInterface
00027 {
00028 public:
00029 KeyboardImpl();
00030 virtual ~KeyboardImpl();
00031
00032 #ifndef QT_NO_COMPONENT
00033 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
00034 Q_REFCOUNT
00035 #endif
00036
00037 virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f );
00038 virtual void resetState();
00039 virtual QPixmap *icon();
00040 virtual QString name();
00041 virtual void onKeyPress( QObject *receiver, const char *slot );
00042
00043 private:
00044 JumpX::Keyboard *input;
00045 QPixmap *icn;
00046 };
00047
00048 }
00049
00050 #endif