Developers and getting them to improve their code.

Simon Hausmann kde-optimize@mail.kde.org
Wed, 8 Jan 2003 21:08:11 +0100


On Wed, Jan 08, 2003 at 02:57:36PM -0500, Benjamin Meyer wrote:
> This may be wrong in the latest version, but in the qt 2 version if there are 
> no signals and no slots (just a constructor with widget creation) it will 
> still put in Q_OBJECT and will still add an empty deconstructor.

Ahh, that is a good point, I missed that.

I _guess_ the dtor was added to allow future extensibility. The
Q_OBJECT looks necessary to me though, because without it it would
be impossible to use signals/slots in a class derived from the uic
generated one, or?

Simon