Re: [Rosegarden-devel] Question about Qt and QTimer

2011-02-06 Thread Julie S
Hello Luis, Thank you for the information, that confirms my understanding. Thank you for the detailed explanation as well. Typically, I just research this stuff myself instead of asking, but I was (at the time) feeling pressed to get the bug fix out before re-release...but that turns out to n

Re: [Rosegarden-devel] Question about Qt and QTimer

2011-02-06 Thread Luis Garrido
On Mon, Feb 7, 2011 at 12:28 AM, D. Michael McIntyre wrote: > On Sunday, February 06, 2011, Julie S wrote: > >> Since "this" is inherits from QGroupBox in this case, it appears Qt will >> take care of the details of deleting the QTimer. > > I think that's probably right.  I'm not 100% sure myself.

Re: [Rosegarden-devel] Question about Qt and QTimer

2011-02-06 Thread D. Michael McIntyre
On Sunday, February 06, 2011, Julie S wrote: > Since "this" is inherits from QGroupBox in this case, it appears Qt will > take care of the details of deleting the QTimer. I think that's probably right. I'm not 100% sure myself. -- D. Michael McIntyre ---

Re: [Rosegarden-devel] Question about Qt and QTimer

2011-02-06 Thread Julie S
Hello All, Concerning my question: > Is this true for QTimer as well? In my case I'm > passing I'm doing this: > > m_delayUpdateTimer = new QTimer(this); > Since "this" is inherits from QGroupBox in this case, it appears Qt will take care of the details of deleting the QTimer. If this is inc

[Rosegarden-devel] Question about Qt and QTimer

2011-02-06 Thread Julie S
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 han