KConfig vs. QSettings (was Re: Porting problems with KMainWindow::readProperties())
Stephan Kulow
coolo at kde.org
Wed Feb 28 15:47:39 GMT 2007
Am Mittwoch 28 Februar 2007 schrieb Andreas Pakulat:
> On 27.02.07 11:26:28, Stephan Kulow wrote:
> > Am Dienstag 27 Februar 2007 schrieb Tobias Koenig:
> > > I'd really like to see KConfig offering the same hierarchical structure
> > > (groups in groups) that QSettings offers. We have so many broken code
> > > that fakes it by having a 'NumGroups=x' entry with '[Group_1]'
> > > '[Group_2]' groups.
> > >
> > > That's really something the framework should offer!
> >
> > Yeah, and it shouldn't be _too_ hard to implement - the API can offer it
> > easily, in kconfiggroups having a group() - but it somehow needs to map
> > it to the ini file.
>
> Why don't we do as the Trolls? They use
>
> subGroup\Variable=Value
>
> to map subGroups.
Engage!
Greetings, Stephan
More information about the kde-core-devel
mailing list