https://bugs.kde.org/show_bug.cgi?id=410851
Bug ID: 410851 Summary: K_PLUGIN_FACTORY_DECLARATION_WITH_BASEFACTORY_SKEL doesn't use basefactory Product: frameworks-kcoreaddons Version: 5.61.0 Platform: Other OS: FreeBSD Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: mp...@kde.org Reporter: gr...@kde.org CC: kdelibs-b...@kde.org Target Milestone: --- The macro K_PLUGIN_FACTORY_DECLARATION_WITH_BASEFACTORY_SKEL defined in kpluginfactory.h takes a parameter baseFactory, which isn't used. Although it's not documented, the name suggests that it should be used when using factories derived from a subclass of KPluginFactory. K_PLUGIN_FACTORY_DECLARATION calls that macro with baseFactory set to KPluginFactory, so that doesn't seem all-too far-fetched. Because it doesn't use baseFactory, using subclasses of KPluginFactory is more work than strictly necessary (e.g. instead of using K_PLUGIN_FACTORY_DECLARATION_WITH_BASEFACTORY_SKEL you need to write out the definition it has, substituting the base class in the right spot). -- You are receiving this mail because: You are watching all bug changes.