[Development] QConfig update.
Thiago Macieira
thiago.macieira at intel.com
Wed Oct 15 11:40:16 CEST 2014
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
More information about the Development
mailing list