From kde-core-devel Tue Jul 15 22:08:54 2008 From: Thiago Macieira Date: Tue, 15 Jul 2008 22:08:54 +0000 To: kde-core-devel Subject: Re: signals and slots vs. virtual_hook (was [PATCH] KFileDialog Message-Id: <200807151908.55105.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=121615978528652 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2855780.Jz2k6cPDW1" --nextPart2855780.Jz2k6cPDW1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Rafael Fern=E1ndez L=F3pez wrote: >> Over 3): How with an enum do you handle conflicts between libraries? >> =A0For exemple if libkopete want to maintain BC and use some of the >> virtual hooks and then we need to add another hook in kdelibs, we need >> to take it in account, which might not be easy. > >Hmm, I don't see the problem... can you elaborate ? It's the problem I described of BaseClass, MiddleClass and DerivedClass. Your solution still doesn't solve everything. As long as the IDs are=20 static and part of the API contract between parent and derived class, you=20 can't add more. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart2855780.Jz2k6cPDW1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBIfR/3M/XwBW70U1gRAo89AJ9/xpijIA//7Vc9jb3R3pFT4A4XAACeIR9q 5zvJ1/kO8B0X0ZVWVj19wwI= =Mw73 -----END PGP SIGNATURE----- --nextPart2855780.Jz2k6cPDW1--