kpluginfactory, it's all the new rage
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705970
This commit is contained in:
parent
7f6821574c
commit
c911115b10
@ -164,8 +164,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
|
|||||||
} // Plasma namespace
|
} // Plasma namespace
|
||||||
|
|
||||||
#define K_EXPORT_KRUNNER_RUNNER( libname, classname ) \
|
#define K_EXPORT_KRUNNER_RUNNER( libname, classname ) \
|
||||||
K_EXPORT_COMPONENT_FACTORY( \
|
K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
|
||||||
krunner_##libname, \
|
K_EXPORT_PLUGIN(factory("krunner_" #libname))
|
||||||
KGenericFactory<classname>("krunner_" #libname) )
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user