Make connectNotify() work with QML
authorThomas McGuire <thomas.mcguire@kdab.com>
Tue, 17 Jul 2012 15:35:53 +0000 (17:35 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 22 Aug 2012 10:25:33 +0000 (12:25 +0200)
commit26ea8e01e9ee2a8c8c09266147b94c9ac92d09f9
treec058873b0082b18a09dde27f7ee124285e696807
parent2cc57f1e33cc4d739b1b76c605e6241fa0f134a8
Make connectNotify() work with QML

Call connectNotify() and disconnectNotify() in QQmlNotifierEndPoint,
which works for QML signal handlers and for QML bindings.

Task-number: QTBUG-11284
Change-Id: Ic9a08ee6687e5c7e606f315c8fb30eec1493cd83
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
14 files changed:
src/qml/qml/qqmlabstractbinding_p.h
src/qml/qml/qqmldata_p.h
src/qml/qml/qqmlengine.cpp
src/qml/qml/qqmljavascriptexpression_p.h
src/qml/qml/qqmlnotifier.cpp
src/qml/qml/qqmlnotifier_p.h
src/qml/qml/v4/qv4bindings.cpp
src/qml/qml/v4/qv4bindings_p.h
src/qml/qml/v8/qv8bindings.cpp
src/qml/qml/v8/qv8bindings_p.h
tests/auto/qml/qml.pro
tests/auto/qml/qqmlnotifier/data/connectnotify.qml [new file with mode: 0644]
tests/auto/qml/qqmlnotifier/qqmlnotifier.pro [new file with mode: 0644]
tests/auto/qml/qqmlnotifier/tst_qqmlnotifier.cpp [new file with mode: 0644]