[Development] QtNetwork changes from QtDD SF 2011
thiago.macieira at intel.com
Wed Dec 7 17:22:36 CET 2011
On Wednesday, 7 de December de 2011 09.12.39, Olivier Goffart wrote:
> > * QObject::connect needs to be able to take a QSharedPointer<QObject>
> > * QObject::connect needs to be able to take a QWeakPointer<QObject>
> I don't understand this point: you can just pass the pointer.data() to
> QObject::connect, and QObject::connect automatically take care of
> disconnecting when the object is destroyed.
You can. This is just for convenience.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/development/attachments/20111207/e7bda4b9/attachment.bin
More information about the Development