Qtopia Home · Index · Classes · Headers · Overviews

QDClientSyncPluginFactory Class Reference

The QDClientSyncPluginFactory class creates instances of QDClientSyncPlugin. More...

    #include <QDClientSyncPluginFactory>

Inherits QDPlugin.

Public Functions

Additional Inherited Members


Detailed Description

The QDClientSyncPluginFactory class creates instances of QDClientSyncPlugin.

The sync implementation uses both remote and local plugins. For each dataset supported by the remote system a QDClientSyncPlugin instance must be created. The QDClientSyncPluginFactory class allows this creation to happen at the time the sync is started so that the remote system's datasets can be queried.


Member Function Documentation

QDClientSyncPluginFactory::QDClientSyncPluginFactory ( QObject * parent = 0 )

Construct a QDClientSyncPluginFactory with parent as the owning QObject.

QDClientSyncPluginFactory::~QDClientSyncPluginFactory ()   [virtual]

Destructor.

QStringList QDClientSyncPluginFactory::datasets ()   [pure virtual]

Returns a list of the datasets this factory can handle.

QDClientSyncPlugin * QDClientSyncPluginFactory::pluginForDataset ( const QString & dataset )   [pure virtual]

Returns a QDClientSyncPlugin for dataset. It is recommended to use CenterInterface::syncObject() as the parent of any plugins created to ensure they are removed when the sync is finished.


Copyright © 2008 Nokia Qtopia Sync Agent Documentation