Changeset View
Changeset View
Standalone View
Standalone View
src/lib/plugin/kpluginfactory.h
Show All 34 Lines | |||||
35 | namespace KParts | 35 | namespace KParts | ||
36 | { | 36 | { | ||
37 | class Part; | 37 | class Part; | ||
38 | } | 38 | } | ||
39 | 39 | | |||
40 | #define KPluginFactory_iid "org.kde.KPluginFactory" | 40 | #define KPluginFactory_iid "org.kde.KPluginFactory" | ||
41 | 41 | | |||
42 | #define K_PLUGIN_FACTORY_DECLARATION_WITH_BASEFACTORY_SKEL(name, baseFactory, ...) \ | 42 | #define K_PLUGIN_FACTORY_DECLARATION_WITH_BASEFACTORY_SKEL(name, baseFactory, ...) \ | ||
43 | class name : public KPluginFactory \ | 43 | class name : public baseFactory \ | ||
44 | { \ | 44 | { \ | ||
45 | Q_OBJECT \ | 45 | Q_OBJECT \ | ||
46 | Q_INTERFACES(KPluginFactory) \ | 46 | Q_INTERFACES(KPluginFactory) \ | ||
47 | __VA_ARGS__ \ | 47 | __VA_ARGS__ \ | ||
48 | public: \ | 48 | public: \ | ||
49 | explicit name(); \ | 49 | explicit name(); \ | ||
50 | ~name(); \ | 50 | ~name(); \ | ||
51 | }; | 51 | }; | ||
▲ Show 20 Lines • Show All 535 Lines • Show Last 20 Lines |