From koffice-devel Fri Jan 17 22:40:04 2003 From: Nicolas Goutte Date: Fri, 17 Jan 2003 22:40:04 +0000 To: koffice-devel Subject: Re: Binary compatibility required for KOffice Libraries? X-MARC-Message: https://marc.info/?l=koffice-devel&m=104284336032425 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