[SailfishDevel] Calling QML function from C++ class

2013-12-21 Thread Jukka Heikkilä
Hi, I have successfully learned how to call C++ method from QML. I would like to see a practical example how to call QML function from C++ method. All examples and instructions which I have found from web have been such kind of codes where all is done from main loop. I'm not sure is my approach

Re: [SailfishDevel] Calling QML function from C++ class

2013-12-21 Thread Andrey Kozhevnikov
http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html here useful examples. also same article can be found offline directly in QtCreator Help. On 21.12.2013 16:05, Jukka Heikkilä wrote: Hi, I have successfully learned how to call C++ method from QML. I would

Re: [SailfishDevel] Calling QML function from C++ class

2013-12-21 Thread Gabriel Boehme
Here is a Link in addition. It's from Qt4.8 Doc but still valid and a way to go. :) http://qt-project.org/doc/qt-4.8/qtbinding.html Am Samstag, den 21.12.2013, 12:05 +0200 schrieb Jukka Heikkilä: Hi, I have successfully learned how to call C++ method from QML. I would like to see a

Re: [SailfishDevel] Calling QML function from C++ class

2013-12-21 Thread David Greaves
Or: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html On 21/12/13 10:42, Gabriel Boehme wrote: Here is a Link in addition. It's from Qt4.8 Doc but still valid and a way to go. :) http://qt-project.org/doc/qt-4.8/qtbinding.html Am Samstag, den 21.12.2013,