Patch for KShortcutsEditor and KXMLGui
David Faure
faure at kde.org
Wed Oct 8 00:26:23 BST 2008
On Friday 03 October 2008, Andreas Pakulat wrote:
> kate-app plugins all use the KGenericFactory and K_EXPORT_COMPONENT_FACTORY
> macro, which I think is deprecated nowadays in favor of
> KPluginLoad+KPluginFactory. But I can't find any evidence of that right
> now, except a deprecation of KGenericFactory and the KLibFactory class
> (which are related).
Well, KGenericFactory is deprecated indeed;
K_EXPORT_COMPONENT_FACTORY is not, it returns a KPluginFactory :)
For an example of before and after, see klibloadertest_module.cpp
and klibloadertest4_module.cpp in kdelibs/kdecore/tests/
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list