Apidox for the plugin export macro

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832056
This commit is contained in:
Alex Merry 2008-07-14 00:06:33 +00:00
parent 5668672342
commit d286c118e0

View File

@ -429,6 +429,9 @@ class PLASMA_EXPORT DataEngine : public QObject
} // Plasma namespace
/**
* Register a data engine when it is contained in a loadable module
*/
#define K_EXPORT_PLASMA_DATAENGINE(libname, classname) \
K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
K_EXPORT_PLUGIN(factory("plasma_engine_" #libname))