On Friday 15 November 2013 14:21 Jonni Rainisto wrote:
> Yes its as simple as assign a new value and it will be automaticly stored.
> 
> your_foo_setting.value = newValue

Ah, even more simple - I like that ;)

> But having said that, I'm not sure what is the store's current intake QA
> rules, it might be that configuration plugin is not whitelisted yet. So you
> might need to use QSettings if you want to be in store. For devel projects
> that plugin is easy and lightweight to use.

So I might need to get my feet wet with C++. Haven't touched that since before 
the millennium change ;)

> Am I right to assume that I can then access that setting by id to set a new
> value which will be saved automatically?
> 
> Like:
> 
>     your_foo_setting.setValue(newValue);
> 
> > [tho...@tanghus.net] Sent: Friday, November 15, 2013 3:13 AM
> > 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?
> 

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to