From kde-core-devel Sat Mar 04 21:41:47 2006 From: Lubos Lunak Date: Sat, 04 Mar 2006 21:41:47 +0000 To: kde-core-devel Subject: Re: Proposing the removal of virtual_hooks (or how you can add a Message-Id: <200603042241.47127.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=114150854115560 On Saturday 04 March 2006 12:44, Olivier Goffart wrote: > Le Samedi 4 Mars 2006 12:18, Thiago Macieira a écrit : > > I'd like to propose a change of policy in the KDE libraries: remove all > > virtual_hook functions from QObject-derived classes. Fine with me. > > I agree. > If we want to add a virtual function, the workaround using signals/slots is > more intuitive that the one with virtual_hook Is it :) ? Well, I'd say that they're both pretty ugly (and I'm the author of both), but it'd be naive to expect ugly hacks not to be ugly, wouldn't it? -- 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/