[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Proposing the removal of virtual_hooks (or how you can add a
From: Lubos Lunak <l.lunak () suse ! cz>
Date: 2006-03-04 21:41:47
Message-ID: 200603042241.47127.l.lunak () suse ! cz
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic