]
Sent: Friday, November 15, 2013 4:24 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Saving state/config
On Friday 15 November 2013 05:44 Jonni Rainisto wrote:
import org.nemomobile.configuration 1.0
My n00bness shows again :P Will I have to add this module to my project? The
SailfishOS
On Friday 15 November 2013 20:26 Andrey Kozhevnikov wrote:
use QSettings as Jonni said and register own component to use in qml, if
need, or export single class instance via setContextProperty
The latter sounds like the easiest approach.
Thanks both for your good advice.
On 15.11.2013 20:24,
both are easy. check Qt Assistant. examples and api reference are inside
your Qt Creator ;)
On 15.11.2013 20:48, Thomas Tanghus wrote:
On Friday 15 November 2013 20:26 Andrey Kozhevnikov wrote:
use QSettings as Jonni said and register own component to use in qml, if
need, or export single
The plugin uses gconf, doesn't it?
Can we use it to modify any gconf entry then?
--
Marcin
2013/11/15 Andrey Kozhevnikov coderusin...@gmail.com
both are easy. check Qt Assistant. examples and api reference are inside
your Qt Creator ;)
On 15.11.2013 20:48, Thomas Tanghus wrote:
On
Sure. but you can make own classes for bth QSettings and GConfItem ;)
On 15.11.2013 21:00, Marcin M. wrote:
The plugin uses gconf, doesn't it?
Can we use it to modify any gconf entry then?
--
Marcin
2013/11/15 Andrey Kozhevnikov coderusin...@gmail.com
mailto:coderusin...@gmail.com
On Friday 15 November 2013 20:50 Andrey Kozhevnikov wrote:
both are easy. check Qt Assistant. examples and api reference are inside
your Qt Creator ;)
Forgive me for non-SailfishOS questions, but I must be doing something wrong,
even if it's easy ;)
My main is now:
int main(int argc, char
Ah OK. I had missed that. It would also have been almost too easy ;)
Thanks a lot for your thorough help
On Friday 15 November 2013 23:39 Andrey Kozhevnikov wrote:
unfortunately you cant use QSettings class this way. It have no public
slots to be used from QML side. You need to write some
OS Developers
Subject: [SailfishDevel] Saving state/config
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
[tho...@tanghus.net] Sent: Friday, November 15, 2013 4:24 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Saving state/config
On Friday 15 November 2013 05:44 Jonni Rainisto wrote:
import org.nemomobile.configuration 1.0
My n00bness shows again :P Will I have to add this module
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
10 matches
Mail list logo