[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2007-07-04 15:00:42
Message-ID: 200707041701.02871.stefan.nikolaus () kdemail ! net
[Download RAW message or body]


On Wednesday 04 July 2007 16:47:07 David Faure wrote:
> This is because KConfigGroup is explicitely-shared instead of implementing
> implicit sharing in it (not with Qt magic since we have non-const methods
> like writeEntry that shouldn't detach, but with calls to detach() in the
> method, I suppose...)

I haven't looked at the code, but does Qt's implicit sharing with declaring 
the method as const and the touched variables in there as mutable work?
Example: koffice/kspread/Formula.cpp (grep for mutable)

Regards,
Stefan

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic