![]() |
Home · All Classes · All Functions · | ![]() |
The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations More...
#include <QContactActionFactory>
Inherits QObject.
virtual | ~QContactActionFactory () = 0 |
virtual QList<QContactActionDescriptor> | actionDescriptors () const = 0 |
virtual QVariantMap | actionMetadata ( const QContactActionDescriptor & descriptor ) const = 0 |
virtual QContactAction * | instance ( const QContactActionDescriptor & descriptor ) const = 0 |
virtual QString | name () const = 0 |
The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations
Clears any memory in use by this factory
Returns a list of descriptors of the actions of which instances of their implementations are able to be retrieved from this factory.
Returns the metadata associated with the action identified by the given descriptor
Returns a pointer to an instance of the implementation of the action described by the given descriptor. The caller takes ownership of the action instance returned from this function, and must delete it when they are finished using it in order to avoid a memory leak.
Returns the name of this factory. The name is used to identify the factory when it is retrieved using the Qt Plugin framework.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |