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

List:       kde-core-devel
Subject:    Re: kdelibs/kmdi
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-01-26 18:20:29
Message-ID: 200501262020.29772.amantia () kde ! org
[Download RAW message or body]


On Wednesday 26 January 2005 20:01, David Faure wrote:
> On Wednesday 26 January 2005 18:59, Andras Mantia wrote:
> > I'm wondering if KTabWidget from CVS HEAD is binary compatible with
> > the one from 3.3. In 3.3 the insertTab methods are not overridden,
> > while in CVS HEAD they are, altough they are virtual methods of
> > QTabWidget...
>
> That's BC, see the BC paper on developer.kde.org.

It's so hard to find that document (I usually can find only through the 
developer checklist page). You're right, I forgot the following 
statement:
"reimplement virtual functions defined in one of the base classes if it 
is safe that programs linked with the prior version of the library call 
the implementation in the base class rather than the new one.  This is 
tricky and might be dangerous. Think twice before doing it.  "
 
I don't know if it's dangerous in this case or not, but unfortunately 
the current way broke the kdelibs's compilation. Maybe in this case all 
variants of the method should be reimplemented, even if you want to 
reimplement only one?

Andras

-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org

[Attachment #3 (application/pgp-signature)]

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

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