| Home · API Reference · Modules |

Public Types | |
| typedef QMap< QString, QVariant > | ExtendedAttributeMap |
Public Slots | |
| void | setAttribute (const QString &key, const QVariant &value) |
Signals | |
| void | extendedAttributeChanged (const QString &key, const QVariant &value) |
Public Member Functions | |
| AttributeExtension (const QString &fileName=QString()) | |
| AttributeExtension (int id, bool registerExtension=true) | |
| virtual | ~AttributeExtension () |
| ExtendedAttributeMap | attributes () const |
| QString | fileName () const |
| int | id () const |
| void | updateAttribute (const QString &key, const QVariant &value) |
Static Public Member Functions | |
| static QSharedPointer< AttributeExtension > | create (int id) |
| static QString | key (const QString &target, const QString &targetItem, const QString &attribute) |
Register extensions such as key overrides.
| typedef QMap<QString, QVariant> Maliit::AttributeExtension::ExtendedAttributeMap |
|
explicit |
Registers an attribute extension (toolbar contents, keyboard overrides) which is defined in fileName, and will be assigned to a text input widget (software input panel).
|
explicit |
|
virtual |
| ExtendedAttributeMap Maliit::AttributeExtension::attributes | ( | ) | const |
|
static |
|
signal |
Informs application that input method server has changed the extended attribute.
| key | a string specifying the target for the attribute. |
| value | new value. |
| QString Maliit::AttributeExtension::fileName | ( | ) | const |
Returns the attribute extension definition file name.
| int Maliit::AttributeExtension::id | ( | ) | const |
Returns an unique identifier id for the attribute extension.
|
static |
Return key corresponding to given parameters.
| target | Attribute extension. |
| targetItem | Item name. |
| attribute | Attribute name. |
|
slot |
Set the attribute of the targetItem in the input method registered attribute extension target to value.
| key | a string specifying the target for the attribute. |
| value | new value. |
| void Maliit::AttributeExtension::updateAttribute | ( | const QString & | key, |
| const QVariant & | value | ||
| ) |
Update cached value of extended attribute corresponding to given key.
| Copyright © 2011 Nokia Corporation | Maliit |