Simon Edwards wrote:

hi all,

How can a force a KProgressDialog object to be garbage collected and have its C++ destructor called?

cheers,


If I understand the question correctly, I use two different ways depending on what I'm doing with the object.

1. When creating an object pass the widget flag "Qt.WDestructiveClose"

2. parent.removeChild(child)
   del child

Boudewijn Rempt's book has some good info on this....
http://www.opendocs.org/pyqt/index.lxp?lxpwrap=c2341%2ehtm

Phill also has a little note at bottom of FAQ's page....
http://www.riverbankcomputing.co.uk/pyqt/faq.php

By the way, GuardDog is one of my favorite firewall tools,
keep up the good work.



_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to