Home ยท API Reference |
MToolbarItemAction defines action which could be performed by MToolbarItem. More...
Public Member Functions | |
MToolbarItemAction (MInputMethod::ActionType action=MInputMethod::ActionUndefined) | |
Construct empty object. | |
virtual | ~MToolbarItemAction () |
MInputMethod::ActionType | type () const |
Action type, default value does nothing. | |
void | setType (MInputMethod::ActionType type) |
Set action type. | |
QString | keys () const |
Keys which will be simulated by ActionSendKeySequence command. | |
void | setKeys (const QString &keys) |
Set keys for ActionSendKeySequence command. | |
QString | text () const |
Text which will be sent by ActionSendString command. | |
void | setText (const QString &text) |
Set text for ActionSendString command. | |
QString | command () const |
Command which will be sent by ActionSendCommand command. | |
void | setCommand (const QString &command) |
Set command for ActionSendCommand command. | |
QString | group () const |
Name of group wich will be affected by this action, if applicable. | |
void | setGroup (const QString &group) |
Set name of group wich will be affected by this action, if applicable. |
MToolbarItemAction defines action which could be performed by MToolbarItem.
See also MInputMethod::ActionType
MToolbarItemAction::MToolbarItemAction | ( | MInputMethod::ActionType | action = MInputMethod::ActionUndefined |
) | [explicit] |
Construct empty object.
MToolbarItemAction::~MToolbarItemAction | ( | ) | [virtual] |
QString MToolbarItemAction::command | ( | ) | const |
Command which will be sent by ActionSendCommand command.
Warning: not implemented yet
QString MToolbarItemAction::group | ( | ) | const |
Name of group wich will be affected by this action, if applicable.
QString MToolbarItemAction::keys | ( | ) | const |
Keys which will be simulated by ActionSendKeySequence command.
void MToolbarItemAction::setCommand | ( | const QString & | command | ) |
Set command for ActionSendCommand command.
void MToolbarItemAction::setGroup | ( | const QString & | group | ) |
Set name of group wich will be affected by this action, if applicable.
void MToolbarItemAction::setKeys | ( | const QString & | keys | ) |
Set keys for ActionSendKeySequence command.
void MToolbarItemAction::setText | ( | const QString & | text | ) |
Set text for ActionSendString command.
void MToolbarItemAction::setType | ( | MInputMethod::ActionType | type | ) |
Set action type.
type | New action type. |
QString MToolbarItemAction::text | ( | ) | const |
Text which will be sent by ActionSendString command.
MInputMethod::ActionType MToolbarItemAction::type | ( | ) | const |
Action type, default value does nothing.
Copyright © 2010 Nokia Corporation | MeeGo Touch |