Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Jonni Rainisto
Yes your .spec file should have following line if you want to use the plugin: Requires: nemo-qml-plugin-configuration-qt5 From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Thomas Tanghus [tho...@tanghus.net]

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Thomas Tanghus
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,

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Andrey Kozhevnikov
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

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Marcin M.
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

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread christopher . lamb
Hi Jonni Could you please confirm whether or not it will be possible to send SMSes direct from an app? (from your reply below it seems this will not be possible). My app Landed on Harmattan could send SMS directly - indeed it is the raison-d'etre for the app, and it is obvious to the

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Andrey Kozhevnikov
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

[SailfishDevel] Persecute - indie WhatsApp client for SailfishOS

2013-11-15 Thread Andrey Kozhevnikov
Hello Sailors! Please test my application - Persecute. Persecute is indie WhatsApp client in Qt/QML. Initially written by me for Harmattan in Qt4/QML and now ported to Qt5/QML for Sailfish. http://sailfish.openrepos.net/coderus/personal/main/p/persecute-0.1-1.armv7hl.rpm

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread Andrey Kozhevnikov
Telepathy is not protocol. Its service controlling all system-wide accounts including ring, sms, mms services. On 15.11.2013 22:22, Seppo Tiainen wrote: I just want to point out what exactly I meant by SMS: Short Message Service of a mobile network (GSM/2G/3G/LTE) provided by the network

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread Seppo Tiainen
OK, my mistake. So you can use Telepathy service to control the 'real' SMS. Need to study more. Thanks. 2013/11/15 Andrey Kozhevnikov coderusin...@gmail.com Telepathy is not protocol. Its service controlling all system-wide accounts including ring, sms, mms services. On 15.11.2013 22:22,

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread christopher . lamb
Hi Seppo My definition of SMS is exactly the same as yours. You will find some older questions from me on the subject of Telepathy and SMSes in the archive of this mailing list. Chris Zitat von Seppo Tiainen seppo.tiai...@gmail.com: OK, my mistake. So you can use Telepathy service to

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread John Brooks
Hi, On Nov 15, 2013, at 8:01 AM, christopher.l...@thurweb.ch wrote: Hi Jonni Could you please confirm whether or not it will be possible to send SMSes direct from an app? (from your reply below it seems this will not be possible). As Robin said, the only API we’re supporting initially

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Thomas Tanghus
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

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Thomas Tanghus
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

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Artem Marchenko
Thanks a lot, Jonni! Discussion went further already, but I am just fascinated you guys have got such a plugin ready! I used to implement GConf modification on my own or create a Settings wrapper for the LocalStorage and now there's a ready made plugin for GConf - great! Best regards, Artem.

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Thomas Tanghus
On Friday 15 November 2013 14:27 Jonni Rainisto wrote: Yes your .spec file should have following line if you want to use the plugin: Requires: nemo-qml-plugin-configuration-qt5 I went with the QSettings wrapper as proposed by Andrey, but this is certainly good to know for further

Re: [SailfishDevel] best way to work with covers?

2013-11-15 Thread Artem Marchenko
Hi Gabriel There are several ways of passing data between Cover and rest of app (or any components). You can try using app global object ids or javascript files with .pragma library and gloval [to them] variables or inject global objects from C++ via setContextProperty(). The way I like doing it