Home ยท API Reference |
MAbstractInputMethodSettings is a base class for input method settings. More...
Public Member Functions | |
virtual QString | title ()=0 |
Returns the title of the setting. The title should be already translated according current display language. | |
virtual QString | icon ()=0 |
Returns the icon of the setting. It is the absolute file name for the icon. | |
virtual QGraphicsWidget * | createContentWidget (QGraphicsWidget *parent=0)=0 |
Creates and returns the content widget of the setting. |
MAbstractInputMethodSettings is 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.
virtual QGraphicsWidget* MAbstractInputMethodSettings::createContentWidget | ( | QGraphicsWidget * | parent = 0 |
) | [pure virtual] |
Creates and returns the content widget of the setting.
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.
virtual QString MAbstractInputMethodSettings::icon | ( | ) | [pure virtual] |
Returns the icon of the setting. It is the absolute file name for the icon.
virtual QString MAbstractInputMethodSettings::title | ( | ) | [pure virtual] |
Returns the title of the setting. The title should be already translated according current display language.
Copyright © 2010 Nokia Corporation | MeeGo Touch |