[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: A New Krazy Checker for Classes Requiring Q_OBJECT
From:       Guillaume Laurent <glaurent () telegraph-road ! org>
Date:       2007-05-12 23:00:30
Message-ID: 200705130100.30350.glaurent () telegraph-road ! org
[Download RAW message or body]

On Sunday 13 May 2007, David Faure wrote:
> On Friday 11 May 2007, Thiago Macieira wrote:
> >  If you don't need any
> > of the Meta Object features (properties, signals, slots, enums,
> > className, qobject_cast, the meta object itself, etc.) why are you
> > deriving from QObject in the first place? :-)
>
> I often saw code deriving from QObject just to get "auto-deletion of
> children by the parent object".

Yes, we do that in RG a couple of times I think. It's very handy.

-- 
Guillaume.
http://telegraph-road.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic