Home · All Classes · All Functions ·

QContactActionFactory Class Reference

The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations More...

    #include <QContactActionFactory>

Inherits QObject.


Public Functions

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

Additional Inherited Members


Detailed Description

The QContactActionFactory class provides an interface for clients to retrieve instances of action implementations


Member Function Documentation

QContactActionFactory::~QContactActionFactory ()   [pure virtual]

Clears any memory in use by this factory

QList<QContactActionDescriptor> QContactActionFactory::actionDescriptors () const   [pure virtual]

Returns a list of descriptors of the actions of which instances of their implementations are able to be retrieved from this factory.

QVariantMap QContactActionFactory::actionMetadata ( const QContactActionDescriptor & descriptor ) const   [pure virtual]

Returns the metadata associated with the action identified by the given descriptor

QContactAction * QContactActionFactory::instance ( const QContactActionDescriptor & descriptor ) const   [pure virtual]

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.

QString QContactActionFactory::name () const   [pure virtual]

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