#include </home/clem/local/src/opie/examples/inputmethod/exampleboardimpl.h>
Inheritance diagram for ExampleboardImpl:


Public Member Functions | |
| ExampleboardImpl () | |
| virtual | ~ExampleboardImpl () |
| QRESULT | queryInterface (const QUuid &, QUnknownInterface **) |
| virtual Q_REFCOUNT QWidget * | inputMethod (QWidget *parent, Qt::WFlags f) |
| create a new widget which should be used as input | |
| virtual void | resetState () |
| Reset the state of the inputmethod. | |
| virtual QPixmap * | icon () |
| The icon of your Input method. | |
| virtual QString | name () |
| virtual void | onKeyPress (QObject *receiver, const char *slot) |
| pass your key event through | |
Private Attributes | |
| ExampleBoard * | m_pickboard |
| QPixmap * | m_icn |
|
|
Definition at line 95 of file exampleboardimpl.cpp. |
|
|
Definition at line 100 of file exampleboardimpl.cpp. References m_icn, and m_pickboard. |
|
|
The icon of your Input method. Return a pointer to a QPixmap symboling your inputmethod You need to delete the pixmap later yourself. Implements InputMethodInterface. Definition at line 119 of file exampleboardimpl.cpp. References Opie::Core::OResource::loadPixmap(), m_icn, and Opie::Core::OResource::SmallIcon. |
|
||||||||||||
|
create a new widget which should be used as input This method will be called if the inputmethod is to be shown. Make sure that your widget is not too large. As of Opie1.1 InputMethods can be floating as well. Delete the Widget yourself.
Implements InputMethodInterface. Definition at line 106 of file exampleboardimpl.cpp. References m_pickboard. |
|
|
Implements InputMethodInterface. Definition at line 126 of file exampleboardimpl.cpp. References tr. |
|
||||||||||||
|
pass your key event through In your actual Input Implementation you'll need a SIGNAL with this void key(ushort,ushort,ushort,bool,bool) signal. The host of your input method requests you to connect your signal with the signal out of receiver and slot. ushort == unicode value ushort == keycode ushort == modifiers from Qt::ButtonState bool == true if the key is pressed and false if released bool == autorepeat on or off. See the QWSServer for more information about emitting keys
Implements InputMethodInterface. Definition at line 131 of file exampleboardimpl.cpp. References m_pickboard. |
|
||||||||||||
|
Implements QUnknownInterface. Definition at line 138 of file exampleboardimpl.cpp. References IID_InputMethod, IID_QUnknown, QS_FALSE, and QS_OK. |
|
|
Reset the state of the inputmethod. If you're shown reset the state of the keyboard to the the default. Implements InputMethodInterface. Definition at line 113 of file exampleboardimpl.cpp. References m_pickboard, and ExampleBoard::resetState(). |
|
|
Definition at line 47 of file exampleboardimpl.h. Referenced by icon(), and ~ExampleboardImpl(). |
|
|
Definition at line 46 of file exampleboardimpl.h. Referenced by inputMethod(), onKeyPress(), resetState(), and ~ExampleboardImpl(). |
1.4.2