KFileInfo: using shared data

Hamish Rodda rodda at kde.org
Fri Apr 14 13:46:22 BST 2006


I was looking at KFileInfo and noticed that it was marked as "/// KDE4 TODO: 
make them refcounted, e.g. using QSharedMimeData."

So, I started out porting it over to be implicitly shared using QSharedData.  
Went pretty easily, for the most part.

However, changing from pointers shared copies doesn't work well, because when 
a change is made it means that all of the other instances don't get the 

Is the plan to make this class explicitly shared?

-------------- 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/20060414/504878bf/attachment.sig>

More information about the kde-core-devel mailing list