Home · API Reference · Modules

MAbstractInputMethodSettings Class Reference
[Plugin API]

A base class for input method settings. More...

List of all members.

Public Member Functions

virtual QString title ()=0
virtual QString icon ()=0
virtual QGraphicsWidget * createContentWidget (QGraphicsWidget *parent=0)=0


Detailed Description

A base class for input method settings.

MAbstractInputMethodSettings defines the setting of a input method plugin. contentWidget() holds its content. Each input method plugin can implement its own setting by inheriting this class.


Member Function Documentation

virtual QString MAbstractInputMethodSettings::title (  )  [pure virtual]

Returns the title of the setting. The title should be already translated according current display language.

virtual QString MAbstractInputMethodSettings::icon (  )  [pure virtual]

Returns the icon of the setting. It is the absolute file name for the icon.

virtual QGraphicsWidget* MAbstractInputMethodSettings::createContentWidget ( QGraphicsWidget *  parent = 0  )  [pure virtual]

Creates and returns the content widget of the setting.

Parameters:
parent pointer of QGraphicsWidget, it is set to the parent for content widget.
WARNING: The return pointer of QGraphicsWidget is owned by the caller, and is set as its parent. It could be manually deleted outside or together with parent.


Copyright © 2011 Nokia Corporation
Maliit