[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: popupmenu in konqy
From: Simon Hausmann <shaus () helios ! med ! Uni-Magdeburg ! DE>
Date: 2000-03-31 13:06:55
[Download RAW message or body]
On Fri, 31 Mar 2000, David Faure wrote:
> On Fri, Mar 31, 2000 at 12:03:10PM +0200, Simon Hausmann wrote:
> > Oh, that reminds me to add a method to KXMLGUIFactory to completely drop
> > an existing tree of nodes (something like KXMLGUIFactory::reset() ), in
> > order to save as much memory as possible (for cases where we want to
> > build/merge a GUI once and then stay happy with it, without modifying it
> > further :)
> >
> > That would be useful for the popupmenu case and also for apps using Kurt's
> > DOM merging stuff (they don't add/remove clients dynamically but rather
> > built it once and probably want to rebuild it from scratch somewhen else
> > (after the toolbareditor was used for example) .
>
> Dumb question: isn't that what "conserveMemory()" does ?
conserveMemory() only frees the DOM document, but it doesn't touch the
node tree of the xmlguifactory.
Ciao,
Simon
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic