[Interest] findChildren() in destroyed() signal slot

Jason Cipriani jason.cipriani at gmail.com
Mon Mar 19 16:34:02 CET 2012

I am new to Qt. I have two QObject-derived classes, Parent and Child.
Child's parent is a Parent. When I attach a slot in Parent to Child's
destroyed() signal, I see that Parent's findChildren() does not include the
Child that was destroyed. This is what I want. Calling findChildren() in a
destroyed() handler, and assuming the child won't be in the list, is safe,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120319/643b562e/attachment.html>

More information about the Interest mailing list