Home · API Reference · Modules |
Public Types | |
typedef QMap< QString, QVariant > | ExtendedAttributeMap |
Public Slots | |
void | setAttribute (const QString &key, const QVariant &value) |
Public Member Functions | |
AttributeExtension (const QString &fileName=QString()) | |
virtual | ~AttributeExtension () |
ExtendedAttributeMap | attributes () const |
QString | fileName () const |
int | id () const |
typedef QMap<QString, QVariant> Maliit::AttributeExtension::ExtendedAttributeMap |
Maliit::AttributeExtension::AttributeExtension | ( | const QString & | fileName = QString() |
) | [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).
\a | fileName is the file name of the attribute extension. The filename should be absolute. If the filename is relative, it will be looked up in the default directory provided by the framework. |
Maliit::AttributeExtension::~AttributeExtension | ( | ) | [virtual] |
AttributeExtension::ExtendedAttributeMap Maliit::AttributeExtension::attributes | ( | ) | const |
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.
void Maliit::AttributeExtension::setAttribute | ( | const QString & | key, | |
const QVariant & | value | |||
) | [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. |
Copyright © 2011 Nokia Corporation | Maliit |