[Qt-qml] QML Slot

Almo Nito AlmoNito at gmx.de
Tue Jul 13 22:30:44 CEST 2010


Hello There.

 

I would like to know how i can connect to a Signal in QML if the object was
not instanced from QML:

 

 

Im having an Object _COMM;

 

That was registered using:

ctxt->setContextProperty("CommObject",_COMM);

 

I can actually use CommObject.doMyInvolkeMethod() in QML

 

 

But how do I connect to a signal that gets emmited that instace of _COMM in
QML?

 

THANKS A LOT!

Almo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100713/f367e3f0/attachment.html 


More information about the Qt-qml mailing list