kdelibs/kmdi

Andras Mantia amantia at kde.org
Wed Jan 26 18:20:29 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050126/48719b24/attachment.sig>


More information about the kde-core-devel mailing list