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
This commit is contained in:
Aaron J. Seigo 2009-04-05 17:40:04 +00:00
parent d56700790f
commit 3c87cf49a8

View File

@ -385,4 +385,14 @@ K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
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<classname>();) \
K_EXPORT_PLUGIN(ConfigFactory("kcm_krunner_" #name)) \
K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION)
#endif