From kde-core-devel Sat Mar 04 11:44:23 2006 From: Olivier Goffart Date: Sat, 04 Mar 2006 11:44:23 +0000 To: kde-core-devel Subject: Re: Proposing the removal of virtual_hooks (or how you can add a Message-Id: <200603041244.30586.ogoffart () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=114147278816428 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1708305.cTXIUoyn6x" --nextPart1708305.cTXIUoyn6x Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le Samedi 4 Mars 2006 12:18, Thiago Macieira a =E9crit=A0: > 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= =20 more intuitive that the one with virtual_hook --nextPart1708305.cTXIUoyn6x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQBECX2ez58lY8jWrL0RApTdAJ9MHduJ+a/axnH75uKOgTK658vq8wCfaA28 5AS+5j0iGMw6xJM2dSA+9pA= =NSAh -----END PGP SIGNATURE----- --nextPart1708305.cTXIUoyn6x--