kdelibs/kdecore

Waldo Bastian bastian at kde.org
Tue Sep 23 16:11:53 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 September 2003 11:42, Matthias Kretz wrote:
> On Tuesday September 23 2003 11:19, Waldo Bastian wrote:
> > Maybe KConfig should
> > provide a factory for refcounted config objects for such cases?
>
> Yes, that would be great. The same problem happens with embedding KCMs in
> your app. The KCM cannot reuse the KConfig object (because
> KGlobal::config() is not always the right config object and if you want to
> keep the flexibility to load the KCM somewhere else using KGlobal::config()
> in a KCM is a no-no). So it would be good to get the same KConfig object as
> is used in the application if the KCM is loaded in-process, else keeping
> sync is a mess.

Please review the following patch.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/cGK5N4pvrENfboIRAs7pAJ9ZB+B90na7ZARLMU6gViHKNmdohACdGU37
oloR8D41ywC+Dwo/AFjZND4=
=JQ2A
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ksharedconfig.patch
Type: text/x-diff
Size: 4431 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030923/35fc9c60/attachment.patch>


More information about the kde-core-devel mailing list