aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlconnections/data/test-connection.qml
diff options
context:
space:
mode:
authorTasuku Suzuki <stasuku@gmail.com>2012-11-25 04:36:33 +0900
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-29 17:48:46 +0100
commite0cb13a510c0099784fee00d5b4b7c608dd42dd2 (patch)
tree8d61daaaa70df2fa7b26a0c989d748fc3718e15f /tests/auto/qml/qqmlconnections/data/test-connection.qml
parent55f6a109e99ea2eb3359fa941a1826d4b4e11bf8 (diff)
Move no-Gui related QML types from QtQuick into QtQml
Task-number: QTBUG-26340 Change-Id: I9049128db2598bf3c7a9d677b774eaae53b54eb5 Reviewed-by: Alan Alpert <aalpert@rim.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlconnections/data/test-connection.qml')
-rw-r--r--tests/auto/qml/qqmlconnections/data/test-connection.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlconnections/data/test-connection.qml b/tests/auto/qml/qqmlconnections/data/test-connection.qml
new file mode 100644
index 0000000000..ce851fc3db
--- /dev/null
+++ b/tests/auto/qml/qqmlconnections/data/test-connection.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+Item {
+ id: screen; width: 50
+
+ property bool tested: false
+ signal testMe
+
+ Connections { target: screen; onWidthChanged: screen.tested = true }
+}