| Home · API Reference · Modules |
#include <keyoverride.h>

Public Types | |
| enum | KeyOverrideAttribute |
Public Slots | |
| void | setLabel (const QString &label) |
| void | setIcon (const QString &icon) |
| void | setHighlighted (bool highlighted) |
| void | setEnabled (bool enabled) |
Signals | |
| void | keyAttributesChanged (const QString &keyId, const MKeyOverride::KeyOverrideAttributes changedAttributes) |
| void | labelChanged (const QString &label) |
| void | iconChanged (const QString &icon) |
| void | highlightedChanged (bool highlighted) |
| void | enabledChanged (bool enabled) |
Public Member Functions | |
| MKeyOverride (const QString &keyId) | |
| MKeyOverride (const MKeyOverride &) | |
| virtual | ~MKeyOverride () |
| const MKeyOverride & | operator= (const MKeyOverride &other) |
| QString | keyId () const |
| QString | label () const |
| QString | icon () const |
| bool | highlighted () const |
| bool | enabled () const |
Properties | |
| QString | label |
| QString | icon |
| bool | highlighted |
| bool | enabled |
MKeyOverride is used to store key attribute overrides for virtual keyboard.
|
explicit |
Constructor.
| MKeyOverride::MKeyOverride | ( | const MKeyOverride & | other | ) |
Copy constructor.
|
virtual |
Destructor.
| bool MKeyOverride::enabled | ( | ) | const |
Return true if the key is enabled; otherwise return false.
|
signal |
Emitted when enabled is changed.
This signal is emitted before keyAttributesChanged signal.
| bool MKeyOverride::highlighted | ( | ) | const |
Return true if the key is highlighted; otherwise return false.
|
signal |
Emitted when highlighted is changed.
This signal is emitted before keyAttributesChanged signal.
| QString MKeyOverride::icon | ( | ) | const |
Returns icon name.
|
signal |
Emitted when icon is changed.
This signal is emitted before keyAttributesChanged signal.
|
signal |
Emitted when some attributes of the key are changed.
This signal is emitted after attribute specific signal.
| keyId,the | key id. |
| changedAttributes | Specifies the changed attributes. |
| QString MKeyOverride::keyId | ( | ) | const |
Returns the key id.
| QString MKeyOverride::label | ( | ) | const |
Returns text from the key.
|
signal |
Emitted when label is changed.
This signal is emitted before keyAttributesChanged signal.
| const MKeyOverride & MKeyOverride::operator= | ( | const MKeyOverride & | other | ) |
|
slot |
If enabled is true, the key is enabled; otherwise, it is disabled.
|
slot |
Set highlighted state for item.
|
slot |
Sets icon name.
|
slot |
Sets text for the key.
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
| Copyright © 2011 Nokia Corporation | Maliit |