diff --git a/abstractrunner.h b/abstractrunner.h index 87de23144..a898c5e77 100644 --- a/abstractrunner.h +++ b/abstractrunner.h @@ -385,4 +385,14 @@ K_PLUGIN_FACTORY(factory, registerPlugin();) \ K_EXPORT_PLUGIN(factory("plasma_runner_" #libname)) \ K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION) +/** + * These plugins are Used by the plugin selector dialog to show + * configuration options specific to this runner. These options + * must be runner global and not pertain to a specific match. + */ +#define K_EXPORT_RUNNER_CONFIG( name, classname ) \ +K_PLUGIN_FACTORY(ConfigFactory, registerPlugin();) \ +K_EXPORT_PLUGIN(ConfigFactory("kcm_krunner_" #name)) \ +K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION) + #endif