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

List:       koffice
Subject:    Re: First change for the progress info stuff
From:       Simon Hausmann <shaus () helios ! med ! Uni-Magdeburg ! DE>
Date:       2000-03-09 7:55:40
[Download RAW message or body]



On Thu, 9 Mar 2000, David Faure wrote:

> * Had to move some code in KoMainWindow, equivalent to createGUI(0L),
> but Simon reimplemented all the createGUI stuff by hand in KoMainWindow (why ?)

The reason for that is that the createGUI implementation in
KParts::MainWindow creates the gui from the part(document) (as
KXMLGUIClient) . In KOffice though we have to use the KoView as GUIClient,
not the part. That is why I implemented it "by hand" . I admit that it is
a very ugly solution, as it <evil>duplicates code</evil> :-)

But hmmmmmmmmmmmmm, the only difference to the kparts implementation is
that the koMainWindow one uses the (as mentioned) the view (using the
activeWidget method of the partmanager) . Perhaps we can merge it back to
one in somehow? :-)

Bye,
 Simon

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

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