Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

keyboardimpl.h

Go to the documentation of this file.
00001 /**************************************************************************************94x78**
00002 **
00003 ** This file may be distributed and/or modified under the terms of the
00004 ** GNU General Public License version 2 as published by the Free Software
00005 ** Foundation and appearing in the file LICENSE.GPL included in the
00006 ** packaging of this file.
00007 **
00008 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00010 **
00011 *********************************************************************************************/
00012 #ifndef KEYBOARDIMPL_H
00013 #define KEYBOARDIMPL_H
00014 
00015 #include <qpe/inputmethodinterface.h>
00016 
00017 namespace KJumpX
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     KJumpX::Keyboard *input;
00045     QPixmap *icn;
00046 };
00047 
00048 } // anonymous namespace
00049 
00050 #endif

Generated on Sat Nov 5 16:15:58 2005 for OPIE by  doxygen 1.4.2