InvokeAction
#include <bb/system/InvokeAction>
To link against this class, add the following line to your .pro file: LIBS += -lbbsystem
An operation that a remote target can perform.
BlackBerry 10.0.0
Public Functions Index
| InvokeAction () | |
| InvokeAction (const InvokeAction &other) | |
| ~InvokeAction () | |
| InvokeAction & | operator= (const InvokeAction &other) |
| QString | name () const |
| QUrl | icon () const |
| QString | label () const |
| QString | defaultTarget () const |
| QList< InvokeTarget > | targets () const |
Public Types
The kinds of actions that can be queried.
BlackBerry 10.0.0
- All = 0
All possible actions.
Some actions may not have an icon and label.
Since:BlackBerry 10.0.0
Actions with an icon and label that are suitable for display in a menu.
Since:BlackBerry 10.0.0
Public Functions
Creates a copy of an existing InvokeAction object.
| Parameters | |
|---|---|
| other |
The source InvokeAction object to copy. |
BlackBerry 10.0.0
Destructor.
BlackBerry 10.0.0
InvokeAction &
Copies the data of an existing InvokeAction object to this object.
| Parameters | |
|---|---|
| other |
The source InvokeAction object to copy. |
The InvokeAction instance.
BlackBerry 10.0.0
QString
Returns the operation the client can ask the target to perform.
Use this value with InvokeRequest::setAction().
The operation the client can ask the target to perform.
BlackBerry 10.0.0
QUrl
Returns a path to a localized icon file that represents the action.
A path to a localized icon file that represents the action.
BlackBerry 10.0.0
QString
Returns the localized name of the action.
The localized name of the action.
BlackBerry 10.0.0
QString
Returns the identity of the target (as stated in its BAR manifest) that handles this action for an unbounded invocation.
If omitted, this action has no default handler.
The identity of the target that handles this action for an unbounded invocation or an empty string if no default exists.
BlackBerry 10.0.0
QList< InvokeTarget >
Returns the list of targets that support this action.
The list of targets that support this action.
BlackBerry 10.0.0