[Kde-pim] [patch] port KResources plugin interfaces to KDE4

Jarosław Staniek js at iidea.pl
Thu Mar 6 20:03:10 GMT 2008


For review (let's test if the factories work):

Use KDE4's K_PLUGIN_FACTORY and K_EXPORT_PLUGIN instead of KDE3's
K_EXPORT_COMPONENT_FACTORY, what means not only porting but fixing bugs
related to loading KDE3-like plugins on Windows.

The definition and declaration of the plugin factories is now generalized and 
thus simplified by adding EXPORT_KRESOURCES_PLUGIN and 
EXPORT_KRESOURCES_PLUGIN2 macros, that can be found in a new private 
kresources_export.h.
These are needed for inserting catalogs like:

   KGlobal::locale()->insertCatalog( "kres_xmlrpc" );

-- 
regards / pozdrawiam, Jaroslaw Staniek
     Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
     Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
     KDE Libraries for MS Windows (http://windows.kde.org)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugins_kresources.patch.gz
Type: application/x-gzip
Size: 3030 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080306/7ff2c329/attachment.bin>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list