[patch] KPluginInfo's use of KConfig

Matthias Kretz kretz at kde.org
Wed Jun 20 09:57:11 BST 2007


Hi,

while looking into KSettings::Dialog and friends in libkutils I stumbled over 
KPluginInfo's use of KConfig in it's API. Now that KConfigGroup has grown up 
I'd like to use KConfigGroup exclusively in the KPluginInfo API.

Also, since KConfigGroup is a value based class now (it was explicitly shared 
already) I'd like to add a default ctor + isValid() function so that those 
can be used like a null pointer or that it can be used with QList and such at 
all. While at it I replaced the d-pointer with a QExplicitlySharedDataPointer 
so that copying and deleting the object is safe from any thread.

Ok to commit next monday? Yes, I'll add a bit more dox...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kplugininfo_cleanup.patch
Type: text/x-diff
Size: 12939 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070620/286674e9/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070620/286674e9/attachment.sig>


More information about the kde-core-devel mailing list