Qt Extended Home · Index · Classes · Headers · Overviews |
The QDPlugin class represents a Qt Extended Sync Agent plugin. More...
#include <QDPlugin>
Inherits QObject.
Inherited by QDAppPlugin, QDClientSyncPluginFactory, QDConPlugin, QDDevPlugin, QDLinkPlugin, and QDSyncPlugin.
The QDPlugin class represents a Qt Extended Sync Agent plugin.
All Qt Extended Sync Agent plugins inherit from QDPlugin but the class itself is abstract.
When creating a plugin you can use the QD_CONSTRUCT_PLUGIN macro to simplify the construction boilerplate that must be created.
See also <qdplugindefs.h>.
Construct a QDPlugin with parent as the owning QObject.
Destructor.
Return the CenterInterface associated with this plugin.
Returns the name the user will see when referring to this plugin.
Returns a unique value so that every plugin can be identified. It is recommended to use a reverse-DNS style name here. For example, com.trolltech.plugin.app.test
This function can be used by plugins to do initialization. It is called after all plugins have been loaded so it is safe to request another plugin by it's id.
Note that this function will not be called if your plugin is not enabled. You should ensure that your destructor will not fail as a result of skipping this method.
Lock the plugin using plugin as the key. A plugin can use locked() to see if it has been locked.
This function is designed so that one plugin can inform another plugin that it is being used.
For example, a device plugin is locked when a data transfer is occurring so that it does not disconnect.
Return true if anyone has locked this plugin.
Remove the lock set by plugin.
Copyright © 2009 Nokia | Qt Extended Sync Agent Documentation |