Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, August 2006
[Qt3] destroy() member function is never called


Message 1 in thread

Hi,

I'm developing my application using Qt Designer and the .ui.h approach. I
implemented the init() and destroy() methods, but I realized destroy() is
never called, although Qt Designer references it in my form class
destructor. Is the destructor never being called either? Shouldn't it be
called when I clicl the form's close button?
Thanks

Fabio Margarido

Message 2 in thread

I've found the answer already. Sorry for the hassle.

On 8/25/06, Fabio Margarido <fabiomargarido@xxxxxxxxx> wrote:
>
> Hi,
>
> I'm developing my application using Qt Designer and the .ui.h approach. I
> implemented the init() and destroy() methods, but I realized destroy() is
> never called, although Qt Designer references it in my form class
> destructor. Is the destructor never being called either? Shouldn't it be
> called when I clicl the form's close button?
> Thanks
>
> Fabio Margarido
>