[Telepathy] [Fwd: tp-qt4 qsharedpointer usage]
Andre Moreira Magalhaes
andre.magalhaes at collabora.co.uk
Wed Mar 18 11:29:52 PDT 2009
Andre Moreira Magalhaes wrote:
> Ian Monroe wrote:
>
>> I wrote a bug about the issue last month:
>> https://bugs.freedesktop.org/show_bug.cgi?id=20299
>>
>> Like I said in the bug report, using KSharedPtr would allow us to always
>> return a KSharedPtr since the counting occurs in the object itself (via
>> QSharedPointer), instead of an external pointer type.
>>
>> I think (but am not positive) that KSharedPtr is the same thing as
>> QExplictlySharedDataPointer, just without a detach call. So we could use
>> QExplictlySharedDataPointer and ignore detach.
>>
>>
> Hmm nice, it seems QExplicitlySharedDataPointer fits the purpose, I will
> try it
>
> BR
>
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
>
>
Done, pushed to master
BR
Andre
More information about the telepathy
mailing list