Member Function Documentation
QContactActionFactory::QContactActionFactory(QObject * parent = 0)
Default constructor for this interface. Passes parent to the QObject constructor.
QContactActionFactory::~QContactActionFactory() [virtual]
Clears any memory in use by this factory
const QString QContactActionFactory::InterfaceName() [static]
The name of the interface that action plugins should implement.
QList<QContactActionDescriptor> QContactActionFactory::actionDescriptors() const [pure virtual]
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.
QContactActionDescriptor QContactActionFactory::createDescriptor(const QString & actionName, const QString & serviceName, const QString & actionIdentifier, int implementationVersion) const [protected]
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().
bool QContactActionFactory::supportsContact(const QContact & contact, const QContactActionDescriptor & which) const [virtual]
Returns true if the there are any targets for the given contact supported by the action described by which.