On Thu, 16 Nov 2000, Andre Poenitz wrote:

> 
> I just started browsing through the 'frontends' directory (I have not been
> there for ages)...
> 
> I find it a bit surprising that the 'new's and 'delete's are a bit out of
> balance. Is there some black magic in the backgraound that releases the
> resources allocated in RefDlg::RefDlg(...) for instance?
>

Yes, Qt manages any widget children itself, and we don't need to worry
about it.
 
> Is there any particular reason to have only pointers to subwidgets included
> and not the subwidgets themselves?
> 

Well most of these are generated by qtarch anyway. It makes it painful to
attach it to the correct parent if they are not constructed at the right
time. Basically it's far easier to do it like that (and that's what qtarch
generates anyway).

thanks
john

p.s. if you do notice anything else dodgy please say, I'm pretty new to
C++ :) 


Reply via email to