From: Julie S <msj...@ya...> - 2011-02-06 18:07:58
|
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. |