treat at kde.org
Fri Nov 20 18:55:22 CET 2009
On Friday 20 November 2009 12:20:52 pm Peter Kümmel wrote:
> Now I realize, sharedptr.h is only to implement a thread save smart
> pointer, with the disadvantage that a class which SharedPtr points to must
> inherit from Shared. So sharedptr.h could be completely replaced by
> I also have the impression often the only feature used from Object is the
> memory management, so I wonder if we couldn't remove inheritance of Object
> at several classes, because QSharedPointer works with any class.
That is a very big feature and well worth it if that were the only thing you
were using QObject for. I very much doubt that though...
Adam Treat - aka original author of kst2 port
More information about the Kst