diff --git a/abstractrunner.h b/abstractrunner.h index 74fbf14c0..a43d43dd1 100644 --- a/abstractrunner.h +++ b/abstractrunner.h @@ -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("krunner_" #libname) ) +K_PLUGIN_FACTORY(factory, registerPlugin();) \ +K_EXPORT_PLUGIN(factory("krunner_" #libname)) #endif