make engine loading work again.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705960
This commit is contained in:
Aaron J. Seigo 2007-08-29 01:49:44 +00:00
parent 44c1f66714
commit 7f6821574c

View File

@ -303,9 +303,7 @@ class PLASMA_EXPORT DataEngine : public QObject
} // Plasma namespace
#define K_EXPORT_PLASMA_DATAENGINE(libname, classname) \
K_EXPORT_COMPONENT_FACTORY( \
plasma_engine_##libname, \
KGenericFactory<classname>("plasma_engine_" #libname))
K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
K_EXPORT_PLUGIN(factory("plasma_engine_" #libname))
#endif // multiple inclusion guard