kpluginfactory, it's all the new rage

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705970
This commit is contained in:
Aaron J. Seigo 2007-08-29 02:17:39 +00:00
parent 7f6821574c
commit c911115b10

View File

@ -164,8 +164,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
} // Plasma namespace
#define K_EXPORT_KRUNNER_RUNNER( libname, classname ) \
K_EXPORT_COMPONENT_FACTORY( \
krunner_##libname, \
KGenericFactory<classname>("krunner_" #libname) )
K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
K_EXPORT_PLUGIN(factory("krunner_" #libname))
#endif