Merging settings by group in KConfig
stefan.nikolaus at kdemail.net
Mon Apr 3 17:27:53 BST 2006
On Monday 03 April 2006 17:49, Matt Rogers wrote:
> On Mon, Apr 03, 2006 at 08:27:33AM -0600, Aaron J. Seigo wrote:
> > On Sunday 02 April 2006 14:13, Matt Rogers wrote:
> > > Specify a group of settings which should be used as default settings
> > > for a particular thing. Then, allow other groups to derive their
> > > settings from that group. If a certain configuration key is not present
> > > in the derived group, the default setting takes over. Otherwise, the
> > > derived group has precedent.
> > do these defaults need to be dynamic? or could this be accomplished by
> > extending KConfigXT to be "settings group aware"?
> Yes, the defaults need to be dynamic but I'm not sure what you mean by
> "settings group aware". My vision was being able to have a KConfig file
> that looked like:
> the "[$d]" specifies Defaults, similar to "[$i]" for immutable.
> When the user changes the appropriate setting, this gets
> written to the local KConfig file:
Just a quick guess:
<entry name="FooContactOverriddenKey" key="OverriddenKey">
Does this solve your problem?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel