The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations More...
#include <QContactActionFactory>
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
Clears any memory in use by this factory
Returns the meta-data associated with the action which this factory generates, 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 which 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 list of supported targets for the given contact is not empty.
The name of the interface that action plugins should implement.