[Ksecretservice-devel] KSecretsService : client API review request

Valentin Rusu kde at rusu.info
Thu Aug 4 17:15:37 UTC 2011


On 08/04/2011 05:31 PM, Olivier Goffart wrote:
> On Thursday 04 August 2011 16:38:11 Valentin Rusu wrote:
>>
>> They are private so adding them into the namespace is useless in opinion.
> Then some other library could use the private name in the global namespace, 
> and there would be conflict.  It is the point of namespace, to separate 
> everything.
Ok, I moved them.
>>
>> QSharedDataPointer require QShareData parent, and that's not a QObject.
>> Hence, I'm forced to use QSharedPointer instead.
> You can use double inheritance.
It won't compile, because QObject inheritors must use Q_DISABLE_COPY and
that takes away the copy constructor needed by QSharedData::clone()



More information about the Ksecretservice-devel mailing list