aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlconnections/data/bindings/test-connection.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlconnections/data/bindings/test-connection.qml')
-rw-r--r--tests/auto/qml/qqmlconnections/data/bindings/test-connection.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlconnections/data/bindings/test-connection.qml b/tests/auto/qml/qqmlconnections/data/bindings/test-connection.qml
new file mode 100644
index 0000000000..f44cbc047f
--- /dev/null
+++ b/tests/auto/qml/qqmlconnections/data/bindings/test-connection.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+Item {
+ id: screen; width: 50
+
+ property bool tested: false
+ signal testMe
+
+ Connections { objectName: "connections"; target: screen; onWidthChanged: screen.tested = true }
+}