[Interest] Automatic deletion of children of QObject

Thiago Macieira thiago.macieira at intel.com
Wed Jun 13 08:45:39 CEST 2012

On quarta-feira, 13 de junho de 2012 04.07.57, Jan Kundrát wrote:
> If the reference is a weak one (ie. "use it if it's available, but don't
> break when it's gone for some reason"), you can just use QPointer (or
> better, as I've just learned, the QWeekPointer).

Keep using QPointer. We've turned around and deprecated the QWeakPointer 
support for QObjects instead.
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: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120613/d097bbfc/attachment.sig>

More information about the Interest mailing list