KConfigGroup (Re: KDE/kdelibs/khtml)

Stephan Kulow coolo at kde.org
Sun Feb 11 11:48:36 GMT 2007


Am Sonntag, 11. Februar 2007 00:24 schrieb David Faure:
> On Sunday 11 February 2007, Aaron J. Seigo wrote:
> > On February 10, 2007, David Faure wrote:
> > > On Friday 09 February 2007, Aaron J. Seigo wrote:
> > > >  - a method in KConfig that returns a KConfigGroup object
> > >
> > > Does this change anything?
> >
> > for me it comes down to which makes an easier to understand API: a
> > kconfig object that provides access to groups, or a kconfig object you
> > need to use with another class to get at groups. the former is nearly
> > self-documenting, the latter requires a bit of a tutorial.
>
> OK.
>
> > on a related note, are we going to hide readEntry() and writeEntry as
> > well and move them to KConfigGroup? if not, what does a KConfig object
> > with no ability to directly set the group do precisely? i would guess it
> > writes to [General], but again it's just a very odd API now.
>
> Makes sense (the removing or at least deprecation of all those methods
> together). Not the writing to [General] - that's a habit we should drop btw
> since kdeglobals provides a [General] group too so kiosk restrictions on it
> affect the app's General group too; and vice-versa iirc. An unfortunate
> name clash.
>
I think I'm going to test if the kde4_kconfig branch is any alive and see how 
much effort it is porting :)

Greetings, Stephan




More information about the kde-core-devel mailing list