summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-03-08 11:50:37 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-03-08 11:50:37 (GMT)
commita4cb272647cc01b545cc464c85b12aea903146df (patch)
tree924b336b7281d082403dd2637d04d3d14a5bef04 /tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml
parentf471b125c04a559c6e76bb69b2875bddf01ed2f6 (diff)
parent7695e48ed3ff7e2e1157bcdcb27188532dc75d20 (diff)
downloadQt-a4cb272647cc01b545cc464c85b12aea903146df.zip
Qt-a4cb272647cc01b545cc464c85b12aea903146df.tar.gz
Qt-a4cb272647cc01b545cc464c85b12aea903146df.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml b/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml
new file mode 100644
index 0000000..0d8e6ef
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml
@@ -0,0 +1,15 @@
+import Qt.test 1.0
+import Qt 4.6
+
+MyQmlObject {
+ property bool test: false
+
+ id: root
+
+ function testFunction() {
+ test = true;
+ }
+
+ Component.onCompleted: root.argumentSignal.connect(testFunction);
+}
+