Qtopia Home · Index · Classes · Headers · Overviews

QDPluginFactory Class Reference

The QDPluginFactory class lets multiple plugins exist in a single file. More...

    #include <QDPluginFactory>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The QDPluginFactory class lets multiple plugins exist in a single file.

Use of the QDPluginFactory should be automatic. You should not use this direcly but instead use the QD_REGISTER_PLUGIN() macro which will append your plugin to the list available from the current file.

See qdautoplugin.cpp for the implementation used by the build system.

See also QDPlugin.


Member Function Documentation

QDPluginFactory::QDPluginFactory ( QObject * parent = 0 )

Construct a QDPluginFactory with parent as the owning QObject.

QDPluginFactory::~QDPluginFactory ()   [virtual]

Destructor.

QDPlugin * QDPluginFactory::create ( const QString & key )   [pure virtual]

Create a plugin instance based on the key.

QString QDPluginFactory::executableName () const   [pure virtual]

Return the executable name of the plugin file. This is typically supplied by the build system in the QTOPIA_TARGET macro.

QStringList QDPluginFactory::keys () const   [pure virtual]

Return a list of identifiers that can be passed to the create function.


Copyright © 2008 Nokia Qtopia Sync Agent Documentation