[SailfishDevel] org.nemomobile.configuration examples

Dylan Van Assche dylan.van.assche at protonmail.com
Tue Feb 7 15:08:35 UTC 2017


Hi Michael,

Thank you! Works amazingly simple, I searched it too far :)

Cheers,
Dylan









-------- Original Message --------
Subject: Re: [SailfishDevel] org.nemomobile.configuration examples
Local Time: 7 February 2017 1:56 PM
UTC Time: 7 February 2017 12:56
From: michael at neufing.org
To: devel at lists.sailfishos.org

Hi,

have a look at my SailfishReboot repo at GitHub [1].
You can just add your properties into the ConfigurationGroup and that's
it :)
The loading/saving/notifying is already handled four you *magic* :)

Br,
Michael

[1]
https://github.com/ejjoman/harbour-sailfishreboot/blob/3b7644b51a36d57bfe9afacf39959ca27b79e235/qml/common/Settings.qml#L4

Am 07.02.2017 13:46, schrieb Dylan Van Assche via Devel:
> Hi devs,
>
> Currently I'm struggling with the org.nemomobile.configuration QML
> module.
>
> On the SailfishOS Reference pages is explained which properties this
> module has but I can't find any examples there.
>
> After some Googling I found some examples on how to use
> ConfigurationValue {} but I want to group several settings together in
> a ConfigurationGroup {}.
>
> Does anyone a simple example on how to use ConfigurationGroup {}?
>
> Thanks & have a nice day,
>
> Dylan Van Assche aka modulebaan
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170207/02d9044b/attachment.html>


More information about the Devel mailing list