summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-09-03 01:34:48 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-09-03 01:34:48 (GMT)
commit1bd2eb8ecd6b2377132beaa789c8b3b8a6f544d9 (patch)
tree907c4ad3add01e33b64778233839612d195f79f5 /tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml
parentb22697903a004fa947bae916a152ac3311346510 (diff)
downloadQt-1bd2eb8ecd6b2377132beaa789c8b3b8a6f544d9.zip
Qt-1bd2eb8ecd6b2377132beaa789c8b3b8a6f544d9.tar.gz
Qt-1bd2eb8ecd6b2377132beaa789c8b3b8a6f544d9.tar.bz2
Support passing QObject derived types to QML methods
QTBUG-13047
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml b/tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml
new file mode 100644
index 0000000..d5d3329
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/invokableObjectArg.qml
@@ -0,0 +1,9 @@
+import Qt.test 1.0
+import Qt 4.7
+
+MyQmlObject {
+ id: root
+ Component.onCompleted: {
+ root.myinvokable(root);
+ }
+}