Home · API Reference · Modules |
Public Member Functions | |
MImUpdateEvent (const QMap< QString, QVariant > &update, const QStringList &propertiesChanged) | |
MImUpdateEvent (const QMap< QString, QVariant > &update, const QStringList &propertiesChanged, const Qt::InputMethodHints &lastHints) | |
QVariant | value (const QString &key) const |
QStringList | propertiesChanged () const |
Qt::InputMethodHints | hints (bool *changed=0) const |
bool | westernNumericInputEnforced (bool *changed=0) const |
bool | preferNumbers (bool *changed=0) const |
bool | translucentInputMethod (bool *changed=0) const |
MImUpdateEvent::MImUpdateEvent | ( | const QMap< QString, QVariant > & | update, | |
const QStringList & | propertiesChanged | |||
) | [explicit] |
C'tor.
update | the map containing all properties. | |
propertiesChanged | a string list of changed properties. |
MImUpdateEvent::MImUpdateEvent | ( | const QMap< QString, QVariant > & | update, | |
const QStringList & | propertiesChanged, | |||
const Qt::InputMethodHints & | lastHints | |||
) | [explicit] |
C'tor.
update | the map containing all properties. | |
propertiesChanged | a string list of changed properties. | |
lastHints | the last input method hints, as compared to the new ones in the updates map. Necessary to detect whether a flag flipped between update event. |
QVariant MImUpdateEvent::value | ( | const QString & | key | ) | const |
Returns invalid QVariant if key is invalid.
QStringList MImUpdateEvent::propertiesChanged | ( | ) | const |
Returns list of keys that have changed, compared to last update event.
Qt::InputMethodHints MImUpdateEvent::hints | ( | bool * | changed = 0 |
) | const |
Returns the focus widget's input method hints.
changed | whether this value changed with this event. |
bool MImUpdateEvent::westernNumericInputEnforced | ( | bool * | changed = 0 |
) | const |
Returns whether western numeric input should be shown, overridding language-specific numeric inputs.
False by default.
changed | whether this value changed with this event. |
bool MImUpdateEvent::preferNumbers | ( | bool * | changed = 0 |
) | const |
Returns whether input field has Qt::ImhPreferNumbers hint set.
False by default.
changed | whether this value changed with this event. |
bool MImUpdateEvent::translucentInputMethod | ( | bool * | changed = 0 |
) | const |
Returns whether the input method should be styled translucently.
Useful when apps need to display a lot of information, for example terminals. False by default.
changed | whether this value changed with this event. |
Copyright © 2011 Nokia Corporation | Maliit |