Home ยท API Reference |
MInputMethodPlugin is an interface class for all input method plugins. More...
Public Member Functions | |
virtual QString | name () const =0 |
Implement this function to return the identifier for this input method. | |
virtual QStringList | languages () const =0 |
Implement this function to return the languages supported for this virtual keyboard. | |
virtual MAbstractInputMethod * | createInputMethod (MAbstractInputMethodHost *host, QWidget *mainWindow)=0 |
Creates and returns the MAbstractInputMethod object for this plugin. This function will be only called once and the allocated resources will be owned by the input method server. | |
virtual MAbstractInputMethodSettings * | createInputMethodSettings ()=0 |
Creates and returns the MAbstractInputMethodSettings object for this plugin. This function will be only called once and the allocated resources will be owned by the input method server. | |
virtual QSet < MInputMethod::HandlerState > | supportedStates () const =0 |
Returns set of states which could be handled by this plugin. |
MInputMethodPlugin is an interface class for all input method plugins.
To create a virtual keyboard / input method plugin, re-implement the virtual functions and instantiate the input method implementation in the createInputMethod() method. Make sure your plugin links against the m im framework library as well.
virtual MAbstractInputMethod* MInputMethodPlugin::createInputMethod | ( | MAbstractInputMethodHost * | host, | |
QWidget * | mainWindow | |||
) | [pure virtual] |
Creates and returns the MAbstractInputMethod object for this plugin. This function will be only called once and the allocated resources will be owned by the input method server.
virtual MAbstractInputMethodSettings* MInputMethodPlugin::createInputMethodSettings | ( | ) | [pure virtual] |
Creates and returns the MAbstractInputMethodSettings object for this plugin. This function will be only called once and the allocated resources will be owned by the input method server.
virtual QStringList MInputMethodPlugin::languages | ( | ) | const [pure virtual] |
Implement this function to return the languages supported for this virtual keyboard.
virtual QString MInputMethodPlugin::name | ( | ) | const [pure virtual] |
Implement this function to return the identifier for this input method.
virtual QSet<MInputMethod::HandlerState> MInputMethodPlugin::supportedStates | ( | ) | const [pure virtual] |
Returns set of states which could be handled by this plugin.
WARNING: If result is empty then this plugin will not be loaded during startup.
Copyright © 2010 Nokia Corporation | MeeGo Touch |