Home ยท API Reference

MToolbarItemAction Class Reference

MToolbarItemAction defines action which could be performed by MToolbarItem. More...

List of all members.

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.


Detailed Description

MToolbarItemAction defines action which could be performed by MToolbarItem.

See also MInputMethod::ActionType


Constructor & Destructor Documentation

MToolbarItemAction::MToolbarItemAction ( MInputMethod::ActionType  action = MInputMethod::ActionUndefined  )  [explicit]

Construct empty object.

MToolbarItemAction::~MToolbarItemAction (  )  [virtual]


Member Function Documentation

MInputMethod::ActionType MToolbarItemAction::type (  )  const

Action type, default value does nothing.

void MToolbarItemAction::setType ( MInputMethod::ActionType  type  ) 

Set action type.

Parameters:
type New action type.

QString MToolbarItemAction::keys (  )  const

Keys which will be simulated by ActionSendKeySequence command.

void MToolbarItemAction::setKeys ( const QString &  keys  ) 

Set keys for ActionSendKeySequence command.

QString MToolbarItemAction::text (  )  const

Text which will be sent by ActionSendString command.

void MToolbarItemAction::setText ( const QString &  text  ) 

Set text for ActionSendString command.

QString MToolbarItemAction::command (  )  const

Command which will be sent by ActionSendCommand command.

Warning: not implemented yet

void MToolbarItemAction::setCommand ( const QString &  command  ) 

Set command for ActionSendCommand command.

QString MToolbarItemAction::group (  )  const

Name of group wich will be affected by this action, if applicable.

void MToolbarItemAction::setGroup ( const QString &  group  ) 

Set name of group wich will be affected by this action, if applicable.


Copyright © 2010 Nokia Corporation
MeeGo Touch