KConfig vs. QSettings (was Re: Porting problems with KMainWindow::readProperties())

Andreas Pakulat apaku at gmx.de
Wed Feb 28 09:47:13 GMT 2007


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.

Andreas

-- 
You will be singled out for promotion in your work.




More information about the kde-core-devel mailing list