[SailfishDevel] Saving state/config
Thomas Tanghus
thomas at tanghus.net
Fri Nov 15 01:13:28 UTC 2013
I couldn't find any standard way of saving an apps config. Is there such a
standard, or is it up to the developer to choose format and location?
I'm making a *very* simple app, so only using QML/JS, and only have to save
3-4 values.
As far as I could see the location should be /home/nemo/.config/appname[.ext]
which could probably be accomplished better using
QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) but is that
possible in QML?
And which format should it be in?
--
Med venlig hilsen / Best Regards
Thomas Tanghus
More information about the Devel
mailing list