are destructors called?

Kevin Krammer kevin.krammer at
Thu Jun 5 21:15:26 BST 2003

On Thursday 05 June 2003 20:20, Martin Köbele wrote:
> Hello,


> Is the ~P() called, when I quit the program (alt+f4, or File->quit,
> etc)?
> It seems, that it's not _always_ called , which confuses me.
> How is that with the destructors?

You create P on the stack, i.e. not using new
Then the instance will be destroyed when the scope of main() ends.

> please cc to my address!

I will, but I think it would be better to subscibe to mailinglist you ask 
questions on.

For kde development questions I'd recommend kde-devel.


Kevin Krammer <kevin.krammer at>
Developer at the Kmud Project
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list