Home · API Reference · Modules

MToolbarItemAction Class Reference
[Maliit server]

Defines action which could be performed by MToolbarItem. More...

List of all members.

Public Member Functions

 MToolbarItemAction (MInputMethod::ActionType action=MInputMethod::ActionUndefined)
virtual ~MToolbarItemAction ()
MInputMethod::ActionType type () const
void setType (MInputMethod::ActionType type)
QString keys () const
void setKeys (const QString &keys)
QString text () const
void setText (const QString &text)
QString command () const
void setCommand (const QString &command)
QString group () const
void setGroup (const QString &group)


Detailed Description

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 © 2011 Nokia Corporation
Maliit