[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: koDocument
From: David Faure <david () mandrakesoft ! com>
Date: 2002-04-27 7:20:49
[Download RAW message or body]
On Friday 26 April 2002 19:48, Ellis Whitehead wrote:
> In the KoDocument constructor, the following call is made:
> setWidget( d->m_wrapperWidget );
>
> I think that this is a problem for the changes I've made to kaction to let it
> be doc/view friendly. Why is setWidget() called on a document? What is its
> purpose, since a document have multiple views? Is this widget not the view
> widget? If not, then why does it need a widget at all?
The wrapper widget is only used when embedding a koffice document
in Konqueror. In that particular case, there is only ONE view.
Note the if ( singleViewMode ) around that block.
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today
_______________________________________________
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