[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KConfig again
From: Sirtaj Singh Kang <ssk () physics ! unimelb ! edu ! au>
Date: 1999-05-17 6:13:59
[Download RAW message or body]
On Mon, 17 May 1999, Mosfet wrote:
[snip]
>
> And also how KConfig is used. As I mentioned before, almost all apps read in
> the KConfig items they want in their constructors and put them in local data
> structures. They do not call readEntry a bunch of times throughout the
> program.
Well, this is not necessarily a good thing. The Config entries should be
used for the loading and saving of preferences whenever a new toplevel
widget is created, destroyed or its preferences edited. This is the
easiest way (ie least code) that I have found so far of allowing
Ok/Apply/Cancel that works - the preference dialog changes the KConfig
settings and the toplevels read their config again. I am against slowing
this down significantly to save a few K; I'd agree if I was shown that the
memory saving was large.
-Taj.
Sirtaj S. Kang taj@kde.org ssk@physics.unimelb.edu.au
Univ of Melbourne
"I'm a commercial operating system."
-Doug Michels (CEO SCO)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic