Home · API Reference · Modules |
#include <inputmethodquickplugin.h>
Public Member Functions | |
InputMethodQuickPlugin (const QString &filename, const QSharedPointer< Maliit::AbstractPlatform > &platform) | |
virtual | ~InputMethodQuickPlugin () |
Public Member Functions inherited from Maliit::Plugins::InputMethodPlugin | |
virtual QString | name () const =0 |
virtual MAbstractInputMethod * | createInputMethod (MAbstractInputMethodHost *host)=0 |
virtual QSet< Maliit::HandlerState > | supportedStates () const =0 |
Creates an input method plugin that allows to use QML.
To create a QML-based virtual keyboard or input method plugin, just drop the QML file in plugin directory. If there are more QML files for the plugin then make sure to put them into some subdirectory or otherwise Maliit server will try to load them as well as separate plugins. The QML components can communicate with the framework through the Maliit::InputMethodQuick context. If the provided Maliit::InputMethodQuick class is not sufficient, then reimplement Maliit::InputMethodQuickPlugin::createInputMethodSettings as well and create a custom MAbstractInputMethod instance there.
Maliit::InputMethodQuickPlugin::InputMethodQuickPlugin | ( | const QString & | filename, |
const QSharedPointer< Maliit::AbstractPlatform > & | platform ) |
|
virtual |
Copyright © 2011 Nokia Corporation | Maliit |