Linked by Thom Holwerda on Tue 18th Jan 2011 22:18 UTC, submitted by alinandrei
Thread beginning with comment 459036
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[7]: De kogel is door de kerk
by lemur2 on Wed 19th Jan 2011 10:06
in reply to "RE[6]: De kogel is door de kerk"
dconf has technical advantages over flat-file storage, including notice of changes, and a quite fast retrieval/loading mechanism (as it is more likely that settings are read than written).
Having the author of dconf write bindings for Qt, so there is the choice of using it, is a good thing!
Having the author of dconf write bindings for Qt, so there is the choice of using it, is a good thing!
But only Qt applications which were re-written to explicitly call those bindings (probably making them a dependency, and also therefore bringing in dconf as a dependency) would be able to work.
However, modifying dconf to also provide a replacement QSettings class and a replacement qtconfig would provide the desired mechanisms for Qt applications running under Ubuntu's GNOME to use the dconf database WITHOUT having to modify said Qt applications!
Better for everybody!
RE[8]: De kogel is door de kerk
by saynte on Wed 19th Jan 2011 10:30
in reply to "RE[7]: De kogel is door de kerk"
But only Qt applications which were re-written to explicitly call those bindings (probably making them a dependency, and also therefore bringing in dconf as a dependency) would be able to work.
However, modifying dconf to also provide a replacement QSettings class and a replacement qtconfig would provide the desired mechanisms for Qt applications running under Ubuntu's GNOME to use the dconf database WITHOUT having to modify said Qt applications!
Better for everybody!
This would be a bad software design. dconf has a very dedicated purpose, you do not want to complicate it with unnecessary functionality.





Member since:
2007-12-10
dconf has technical advantages over flat-file storage, including notice of changes, and a quite fast retrieval/loading mechanism (as it is more likely that settings are read than written).
Having the author of dconf write bindings for Qt, so there is the choice of using it, is a good thing!