Substitute for KConfig in Qt4

nusch nusch88 at gmail.com
Tue Sep 22 15:16:10 EDT 2009


On Sep 22, 3:43 pm, David Boddie <dbod... at trolltech.com> wrote:
> On Sat Sep 19 12:18:40 CEST 2009, nusch wrote:
>
> > On Sep 19, 3:53 am, David Boddie <da... at boddie.org.uk> wrote:
> > > On Thursday 17 September 2009 13:04, nusch wrote:
> > > > I want to remove pyKDE dependencies from my app to make it pure PyQt.
> > > > What will be the best substitute for KConfig?
>
> > > What exactly do you use KConfig for in your application?
>
> > > David
>
> > e.g storing dock window positions, fields choosen in QComboBox etc.
> > But I Dont want to use normal config files for it
>
> Then you would use QSettings. Although that may use configuration files
> behind the scenes, they should at least be stored in a standard place.
>
> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qsettings.html
>
> David

Thanks. That's what I'm looking for



More information about the Python-list mailing list