Menu
#include <bb/system/Menu>
To link against this class, add the following line to your .pro file: LIBS += -lbbsystem
A menu of invokable items.
BlackBerry 10.0.0
Public Functions Index
Public Functions
QString
Returns the localized title of the menu.
This can be used at the top of the menu to describe the items in the menu.
The localized title of the menu, or an empty string if the menu instance is not valid (see isValid()).
BlackBerry 10.0.0
QString
Returns the localized subtitle of the menu.
This is a secondary title that can be presented as subscript to the main title.
The localized subtitle of the menu, or an empty string if the menu instance is not valid (see isValid()).
BlackBerry 10.0.0
QUrl
Returns a path to a localized icon file that can be displayed with the menu title.
QUrl
Returns a path to a localized icon file that can be displayed with the menu subtitle.
QList< MenuItem >
Returns the list of menu items.
The list of menu items. If the menu instance is not valid (see isValid()), an empty list is returned.
BlackBerry 10.0.0
bool
Indicates if this menu is valid.
A request to populate a menu was made using the bb::system::MenuManager::populateMenu() method.
The request completed, indicated by the arrival of the bb::system::MenuManager::finished() signal.
The request was successful, indicated by bb::system::MenuManager::error() returning a value of bb::system::MenuManagerError::None.
true if this menu is valid, false otherwise.
BlackBerry 10.0.0