Developers and getting them to improve their code.

Zack Rusin kde-optimize@mail.kde.org
Wed, 8 Jan 2003 15:07:26 -0500


On Wednesday 08 January 2003 14:57, 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.

Well, designer generated widgets all have languageChange protected slot, 
therefore the need for the Q_OBJECT. 
And the empty destructor is not a problem because it's not virtual and 
designer generated gui's are rarely (never?) bases of inheritance 
hierarchies.

Zacl

-- 
When I want your opinion, I'll give it to you.