Stupid Qt designer base class bloat

Lubos Lunak kde-optimize@mail.kde.org
Wed, 12 Mar 2003 12:35:42 +0100


On Wednesday 12 of March 2003 03:55, John Levon wrote:
>     111 void BulletsModuleBase::setActive(QListViewItem*)
>     112 {
>     113     qWarning( "BulletsModuleBase::setActive(QListViewItem*): Not
> implemented yet!" ); 114 }
>
>
> Why oh why do they do this ? Not only is it dumb (it should be made
> abstract, surely), it's just pointless bloat (qt-lyx has 160 of these,
> and they make up at least 12Kb of entirely wasted .text as far as I can
> tell).
>
> Has anyone hassled the trolls about this before ?

 The bodies are not generated for pure virtual slots, so you should probably 
rather ask TT to make pure virtuals the default (as obviously non-pure 
virtuals have to have a body).

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/