[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: David Faure <faure () kde ! org>
Date: 2007-05-12 22:25:48
Message-ID: 200705130025.49827.faure () kde ! org
[Download RAW message or body]
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).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic