diff options
Diffstat (limited to 'tests/auto/declarative/qmlconnection/data/test-connection.qml')
-rw-r--r-- | tests/auto/declarative/qmlconnection/data/test-connection.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlconnection/data/test-connection.qml b/tests/auto/declarative/qmlconnection/data/test-connection.qml new file mode 100644 index 0000000..9534621 --- /dev/null +++ b/tests/auto/declarative/qmlconnection/data/test-connection.qml @@ -0,0 +1,10 @@ +import Qt 4.6 + +Item { + id: screen; width: 50 + + property bool tested: false + signal testMe + + Connection { sender: screen; signal: "widthChanged()"; script: screen.tested = true } +} |