2010/5/31 Juan Felipe Mogollón Rodríguez <[email protected]>:
> Hi to everyone,
> I am trying to emit signals from qml to be managed with the cpp code,
> I haven't found any tutorial or example that works.

You would just use property binding to bind the QML signal handler to
the slot of a C++ object you've exposed to QML.  See
http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeintroduction.html#signal-handlers
about signal handlers and
http://doc.qt.nokia.com/4.7-snapshot/qtbinding.html#exposing-data
about exposing a C++ object.

Colin

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to