From kde-core-devel Sat May 12 22:25:48 2007 From: David Faure Date: Sat, 12 May 2007 22:25:48 +0000 To: kde-core-devel Subject: Re: A New Krazy Checker for Classes Requiring Q_OBJECT Message-Id: <200705130025.49827.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=117900879201548 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". But yeah, adding the macro doesn't hurt. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).