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

List:       kde-commits
Subject:    Re: kdepim/kaplan/src
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2002-12-22 10:46:44
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 22 December 2002 15:58, Joseph Wenninger wrote:
> Hi
> 
> 
> Am Son, 2002-12-22 um 08.58 schrieb Don Sanders:
> > CVS commit by sanders: 
> > 
> > Don't delete the mainwidget of a part before the part itself is deleted.
> > 
> > As the parts need to do cleanup before their mainwidget is deleted, (like
> > calling the save method of the mainwidget).
> > 
> > This is equivalent to ensuring parts are deleted before the widgetstack
> > containing the mainwidgets of the parts is deleted.
> 
> Normally everything should be stored within the part not within it's
> widgets. The other way round is eg bad with multiple views, and a part
> can exist even without a widget.

The basic KParts design is that there is always one view (no more, no less)
per widget. Of course it's possible to implement, on top of it, support for
multiple views (like KOffice does). Not sure what has been chosen for kaplan,
but if there's no plan to support multiple views, there's nothing wrong with
assuming one widget per part.

- -- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Klarälvdalens Datakonsult AB, Platform-independent software solutions
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+BZgU72KcVAmwbhARAv3RAKCnoOzeyIVLHhERyub/WP4ZW77ILACgidP1
/CzGJLMNHh3bG3ORd38ocOY=
=43be
-----END PGP SIGNATURE-----

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

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