C++ QML mapping through signals and slots
-
Hello,
My application needs some signals from C++ to call slots in QML
the slots will be in many QML pages.....how can we call slots in many QML files form C++?
If it is of one qml page,,,,can we use QDeclarativeView?
Can someone help me in calling SLOTS in many QML pages through C++ signals?Thanks in advance:)
-
See the second example "here.":http://doc.trolltech.com/4.8/qtbinding.html#receiving-signals I think it's doing what you want. You'll most likely want to explore the "Connections":http://qt-project.org/doc/qt-4.8/qml-connections.html element.