Hello All,

I know that typically when we use Qt and create GUI items like buttons, check 
boxes, etc.  We don't explicitly use "delete" on them in a Classes destructor.

Is this true for QTimer as well?  In my case I'm passing I'm doing this:

m_delayUpdateTimer = new QTimer(this);

So will Qt handle the deletion of the timer when "this" is destroyed, or do I 
need to do it?  I'm currently deleting it, and it seems ok, but I want to know 
for certain if I'm going about this the correct way.

Sincerely,
Julie S.




      

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to