Home · All Classes · Main Classes · Deprecated
Signals | Public Member Functions | Properties

MObjectMenuModel Class Reference

MObjectMenuModel contains a number of object menu actions related to one widget. More...

Inherits MSceneWindowModel.

List of all members.

Signals

void actionAdded (MAction *action)
void actionRemoved (MAction *action)
void actionModified (MAction *action)

Public Member Functions

void addAction (MAction *action)
void removeAction (MAction *action)
void modifyAction (MAction *action)

Properties

MActionList actions
QPointF cursorPosition
QString title
QString iconId
QString contentURI

Detailed Description

MObjectMenuModel contains a number of object menu actions related to one widget.

See also:
MObjectMenu

Member Function Documentation

void MObjectMenuModel::actionAdded ( MAction action  )  [signal]

This signal is emitted when an action has been added to actions list.

void MObjectMenuModel::actionModified ( MAction action  )  [signal]

This signal is emitted when an action has been modified in actions list.

void MObjectMenuModel::actionRemoved ( MAction action  )  [signal]

This signal is emitted when an action has been removed from actions list.

void MObjectMenuModel::addAction ( MAction action  ) 

Adds the action to the actions list.

This method should be used instead of modifying the actions list directly. When the action has been added, this method will emit a actionAdded() signal.

void MObjectMenuModel::modifyAction ( MAction action  ) 

Emits a actionModified() signal.

When modifying an action, this method should be used to inform all participants of the modification. This method will emit a actionModified() signal.

void MObjectMenuModel::removeAction ( MAction action  ) 

Removes the action from the actions list.

This method should be used instead of modifying the actions list directly. When the action has been removed, this method will emit a actionRemoved() signal.


Property Documentation

MObjectMenuModel::actions [read, write]

A list of object menu actions.

This property contains all object menu actions. This list is modified by MObjectMenu via addAction(), removeAction() and modifyAction() and is always up to date.

QString MObjectMenuModel::contentURI [read, write]
MObjectMenuModel::cursorPosition [read, write]

Position of the cursor that invokes the object menu.

This property contains the position of the cursor that causes menu to appear.

MObjectMenuModel::iconId [read, write]

IconId for the icon for the object menu.

MObjectMenuModel::title [read, write]

Title/header text for the object menu.


Copyright © 2010 Nokia Corporation
MeeGo Touch