Proposing the removal of virtual_hooks (or how you can add a virtual method without using "virtual")

Olivier Goffart ogoffart at kde.org
Sat Mar 4 11:44:23 GMT 2006


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.

I agree.
If we want to add a virtual function, the workaround using signals/slots is 
more intuitive that the one with virtual_hook

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060304/d78987c3/attachment.sig>


More information about the kde-core-devel mailing list