class KDevelop

Falk Brettschneider gigafalk at yahoo.com
Fri Jun 16 09:43:42 UTC 2000


Sandy Meier wrote:
> 
> Am Fre, 16 Jun 2000 schrieben Sie:
> >
> > Hmmm,
> >
> > That's KDockMainWindow not DockMainWindow - right?
> >
> > but these classes are defined as
> > class KDockMainWindow : public KTMainWindow
> > class KParts:MainWindow : public KTMainWindow, virtual public PartBase
> >
> > and we want
> > class CKDevelop : public KDockMainWIndow, public KParts::MainWindow
> >
> > but that gives us two instances of KTMainWindow - which would be incorrect
> >
> > You'd need
> > class KDockMainWindow : public virtual KTMainWindow
> > class KParts:MainWindow : public virtual KTMainWindow, virtual public PartBase
> 
> As I wrote the only solution would be (in my opinion :-)) a copy of
> KDockMainWindow in KDevelop which inherits KParts::MainWindow because we can't
> change the inheritence in kdelibs and multiple inheritence isn't possible.:-(
Well, I'm going to talk with the KDE gurus and of course with Maxim
Yudin, the chances are high at least for Max because he gave me the full
might and magic over the Dockwidgets (if both of us understood right
each other ;).
And my experience says, the men from KDE are quite lazy about the
Dockwidgets 'cause noone of them uses it yet.

> If we can't have 2 classes with the same name in one "address space", one in
> the binary and one in the libs maybe we could rename the KDockMainWindow class?
I will do everything to prevent this...

-- 

Ciao,
--Falk

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




More information about the KDevelop-devel mailing list