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

List:       koffice-devel
Subject:    Re: Binary compatibility required for KOffice Libraries?
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-01-17 22:40:04
[Download RAW message or body]

The problem is that KoDocument is inherited. So adding a new virtual method to 
KoDocument shifts the (old) virtual methods of his children, which makes the 
children BIC.

Have a nice day/evening/night!

On Friday 17 January 2003 15:41, John Dailey wrote:
> > I wonder if this is doable though. This change was done (by the kspread
> > people I guess)
> >
> > - -    virtual void emitBeginOperation();
> > +    virtual void emitBeginOperation(bool waitCursor = true);
> >      virtual void emitEndOperation();
> > (in koDocument.h)
> >
> > There's no BC equivalent for this, other than an ugly
> > setWaitCursor(false); emitBeginOperation();
> > (and the kspread reimplementation of emitBeginOperation using
> > withWaitCursor() or so)
>
> hmmm....i probably misread the documentation into thinking the default
> argument made it compatible.
>
> As far as I know, only KSpread uses a non-default parameter so I can
> probably move the change to KSpreadDocument
>
> -John
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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