Hello,
To see how dconf works and make our evalation easier, I created a
simple class providing the same interface as QSettings, but uses dconf
internally.

It's a reusable C++ class - LxQt::Settings, a drop in replacement for
QSettings based on dconf.

https://github.com/PCMan/lxqt-settings

It's a proof of concept. I only implement a subset of QSettings methods.
Besides, I haven't implement change notifications, either. (QSettings
IIRC does not support this)
Data stored are all strings, just like what QSettings stores in ini files.
However, dconf actually supports more data formats than string.
So, there are still rooms to improve this rough implementation.

I did not use glib GSettings since we do not need the features it
provides. So I call low level dconf client API instead.

main.cpp domonstrated how to use the class.
It's just like QSettings.

Comments are wanted.

Thanks!

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to