11-13-2012 01:35 PM
The more I read the documentation the examples the more confused I get.
At this point I have given up trying to connect a QML signal with a C++ slot as the connect always fails (for some reason) and in fact program hangs with SIGABRT. Though, I thought I had eventually found a way to get address of Control ( Page or Container) where signal is defined.
However, my current problem is probably the same issue anyways. I want to send information to a number of QML Controls from C++. Thought of using onTouch for these controls even though not sure how to pass isDown event.
Could create another custom slot.
But either way I'm back to how do I identify these controls so that I can emit the signals
control1.onTouch(), control2.onTouch(), etc
Am I back to trying to find the child object "Control1" and using "emit control1obj->onTouch();"
Is there an equivalent to "this" in QML?