[Qt-interest] QObject::deleteLater and private event loop (not using QCoreApplication::exec())

Thiago Macieira thiago at kde.org
Fri Jun 10 14:29:53 CEST 2011


On Friday, 10 de June de 2011 15:19:33 Nikos Chantziaras wrote:
> It doesn't look very irrelevant to me though, simply because of the 
> nature of the word "irrelevant."  Meaning that once you call 
> deleteLater(), you shouldn't call anything else on that object since you 
> don't know when it's going to be deleted.

That's the point: you do. It will be deleted when it returns to the event 
loop.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110610/905718e2/attachment.bin 


More information about the Qt-interest-old mailing list