[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: signals and slots vs. virtual_hook (was [PATCH] KFileDialog
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-07-15 22:08:54
Message-ID: 200807151908.55105.thiago () kde ! org
[Download RAW message or body]


Rafael Fernández López wrote:
>> Over 3): How with an enum do you handle conflicts between libraries?
>>  For 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 
static and part of the API contract between parent and derived class, you 
can't add more.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic