The QContactActionDescriptor class provides information that uniquely identifies a specific implementation of an action More...
#include <QContactActionDescriptor>
This class was introduced in Qt Mobility 1.2.
QContactActionDescriptor () | |
QContactActionDescriptor ( const QContactActionDescriptor & other ) | |
~QContactActionDescriptor () | |
QString | actionIdentifier () const |
QString | actionName () const |
QContactFilter | contactFilter () const |
int | implementationVersion () const |
bool | isValid () const |
QVariant | metaData ( const QString & key, const QList<QContactActionTarget> & targets, const QVariantMap & parameters = QVariantMap() ) const |
QVariant | metaData ( const QString & key, const QVariantMap & parameters = QVariantMap() ) const |
QVariant | metaData ( const QString & key, const QContactActionTarget & target, const QVariantMap & parameters = QVariantMap() ) const |
QVariant | metaData ( const QString & key, const QContact & contact, const QContactDetail & detail = QContactDetail(), const QVariantMap & parameters = QVariantMap() ) const |
QString | serviceName () const |
QSet<QContactActionTarget> | supportedTargets ( const QContact & contact ) const |
bool | supportsContact ( const QContact & contact ) const |
bool | operator!= ( const QContactActionDescriptor & other ) const |
QContactActionDescriptor & | operator= ( const QContactActionDescriptor & other ) |
bool | operator== ( const QContactActionDescriptor & other ) const |
const QLatin1Constant | MetaDataIcon |
const QLatin1Constant | MetaDataLabel |
const QLatin1Constant | MetaDataMandatoryParameterKeys |
const QLatin1Constant | MetaDataOptionalParameterKeys |
const QLatin1Constant | MetaDataSecondLabel |
The QContactActionDescriptor class provides information that uniquely identifies a specific implementation of an action
Constructs a new, invalid action descriptor
Constructs a copy of the other action descriptor
Cleans up any memory in use by the action descriptor
Returns the identifier of the action, within the service.
Returns the name of the action which is identified by the action descriptor
Returns a filter which will match contacts for which this action has at least one supported action target
Returns the service-specified version of the action implementation which is identified by the action descriptor
Returns false if either the name, service and version of the descriptor are missing from the descriptor, or if the descriptor is not associated with a valid action factory which can create instances of an action. An empty descriptor cannot uniquely identify an action.
Returns the meta data for the given meta data key key for the the given action targets targets with the given invocation parameters parameters.
Returns the meta data for the given meta data key key with the given invocation parameters parameters.
Returns the meta data for the given meta data key key for the target, with the given invocation parameters parameters.
Returns the meta data for the given meta data key key for a target identified by contact and detail, with the given invocation parameters parameters.
Returns the name of the service of the action implementation which is identified by the action descriptor
Returns the set of action targets which are supported by this action for the given contact contact
Returns true if the action which this descriptor describes supports at least one action target for the given contact
Returns true if the action name, service name or service-specified implementation version specified by this action descriptor are different to that specified by other
Assigns this action descriptor to be equal to other
Returns true if the action identified by this descriptor is the same as the action identified by the other descriptor. Note that two actions with the same action name, service name and implementation version may in fact be different (for example, they may have different metaData), so using this function is the only way for clients to tell whether or not the action descriptors identify different actions.
The meta data key which corresponds to the meta data value which contains the icon which should be displayed for this action.
See also metaData().
The meta data key which corresponds to the meta data value which contains the display label for this action.
See also metaData().
The meta data key which corresponds to the meta data value which contains the list of keys of parameters which the client must provide at invocation for the action to succeed.
An example of a mandatory parameter might be a "recipient" parameter to a "send email" action.
See also metaData().
The meta data key which corresponds to the meta data value which contains the list of keys of parameters which the client may provide at invocation time which may affect the action.
An example of an optional parameter might be an "attachment" parameter to a "send email" action.
See also metaData().
The meta data key which corresponds to the meta data value which contains the second or additional display label for this action.
See also metaData().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.