[RFC] KConfig merge

Thomas Braxton kde.braxton at gmail.com
Wed Oct 3 14:53:57 BST 2007


On 10/3/07, David Faure <faure at kde.org> wrote:
>
> On Wednesday 03 October 2007, Dirk Mueller wrote:
> > On Monday, 1. October 2007, Thomas Braxton wrote:
> >
> > >   - Renamed the values of KConfig::OpenFlag because the other names
> didn't
> > > really describe their function. To me NoGlobals is the same as not
> oring
> > > with IncludeGlobals so I changed it to CascadeConfig, I think Cascade
> or
> > > OpenCascade would be a better name, but I'm not sure.
> >
> > KConfig's always cascade AFAIK
> (unless OnlyLocal is set)




> includeGlobals only means if kdeglobals is read in addition to it
> Yes, and NoGlobals is indeed the opposite. Thomas, what would you use if
> NoGlobals
> disappears? KConfig(0)? That's no good :) I think we should indeed have a
> name for all
> three possibilities, so that the calling code is readable.


KConfig(file, CascadeConfig) or KConfig(file, SimpleConfig) depending on
whether you want cascading or not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071003/edcbb86f/attachment.htm>


More information about the kde-core-devel mailing list