Developers and getting them to improve their code.

Benjamin Meyer kde-optimize@mail.kde.org
Wed, 8 Jan 2003 15:10:51 -0500


On Wednesday 08 January 2003 3:07 pm, Zack Rusin wrote:
> 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.

Hmm, must be a 3.X thing.  Oh well.

> 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.

Actually in the manual for designer that is presicly how you are (were)=20
suppost to use it.  Create a class with designer and then inhearite it an=
d=20
impliment any feature in the sub class so that you could go back and modi=
fiy=20
any ui files anytime.

-Benjamin Meyer