On Tuesday 14 October 2014 13:44:30 Tomaz Canabrava wrote:
> so I don't need to open a config file and parse it every time the user
> created a QConfig object.

I quite frankly don't see this as a problem.

I think this syntax of using QSettings is just plain weird:

        QSettings settings;
        if (settings.contains("foo"))
                doSomething();

Applications should just keep a global singleton of theirs for their config.

Clearly, QConfigGroup would need to be thread-safe.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to