The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations More...
#include <QContactActionFactory>
Inherits: QObject.
This class was introduced in Qt Mobility 1.2.
QContactActionFactory ( QObject * parent = 0 ) | |
virtual | ~QContactActionFactory () |
virtual QList<QContactActionDescriptor> | actionDescriptors () const = 0 |
virtual QContactFilter | contactFilter ( const QContactActionDescriptor & which ) const = 0 |
virtual QContactAction * | create ( const QContactActionDescriptor & which ) const = 0 |
virtual QVariant | metaData ( const QString & key, const QList<QContactActionTarget> & targets, const QVariantMap & parameters, const QContactActionDescriptor & which ) const = 0 |
virtual QSet<QContactActionTarget> | supportedTargets ( const QContact & contact, const QContactActionDescriptor & which ) const = 0 |
virtual bool | supportsContact ( const QContact & contact, const QContactActionDescriptor & which ) const |
const QLatin1Constant | InterfaceName |
QContactActionDescriptor | createDescriptor ( const QString & actionName, const QString & serviceName, const QString & actionIdentifier, int implementationVersion ) const |
The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations
Default constructor for this interface. Passes parent to the QObject constructor.
Clears any memory in use by this factory
Return a list of action descriptors for the actions that this factory supports.
Returns a filter to select contacts that are supported by the action specified by which.
Returns a new QContactAction instance for the supplied action descriptor which.
The caller will own this object.
Creates an action descriptor based on the supplied action name actionName, service name serviceName, action identifier actionIdentifier, and version implementationVersion.
Returns the meta-data associated with the action described by which for the given key (such as icon, label or sound cues). The meta-data may vary depending on the targets of the action and any parameters to invocation which the client may specify.
Returns the targets which are supported by the action described by which that may be instantiated by this factory for the given contact. If there are no supported targets for the contact, then that contact is not supported by the action.
See also supportsContact().
Returns true if the there are any targets for the given contact supported by the action described by which.
The name of the interface that action plugins should implement.
© 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.