From 3c87cf49a822778612a97e380d3cefb9b757c113 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 5 Apr 2009 17:40:04 +0000 Subject: [PATCH] some runners were incorrectly using this, but i figured out (dur!) what it is actualy for; so add the macro back, along with a comment on its purpose. svn path=/trunk/KDE/kdelibs/; revision=949669 --- abstractrunner.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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