[Kst] branches/work/kst/kst1kde4/kst/src/libkst
Peter Kümmel
syntheticpp at gmx.net
Thu Nov 19 17:43:27 CET 2009
Barth Netterfield wrote:
> On Thursday 19 November 2009 04:28:33 Peter Kümmel wrote:
>> The interesting part of the patch is the usage
>> of new Qt4 classes/template:
>>
>> +#include <QTemporaryFile>
>> -typedef KstSharedPtr<KstSMatrix> KstSMatrixPtr;
>> +typedef QExplicitlySharedDataPointer<KstSMatrix> KstSMatrixPtr;
>
> I think that is the QT4 equivalent to KSharedPtr, the KDE3 version of which
> was sucked into kst as KstSharedPtr.
>
> I was contemplating this very move, since KstSharedPtr is undocumented and not
> known to work.
>
> cbn
I agree, QSharedData/QSharedDataPointer (do we need the
'Explicitly' version, is
better documented, and we don't need to think about its support.
Peter
More information about the Kst
mailing list