diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-02 08:37:42 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-05 02:40:49 (GMT) |
commit | b4001abf71b3335cedfaf72ca3b7f25ea46be35c (patch) | |
tree | bc905ceabea6a2a4cb26a15e3b899ebffde3aff1 /tests/auto/declarative/qmlecmascript/data | |
parent | a6a2a2373c63ec3c67be62814bc3391de1338883 (diff) | |
download | Qt-b4001abf71b3335cedfaf72ca3b7f25ea46be35c.zip Qt-b4001abf71b3335cedfaf72ca3b7f25ea46be35c.tar.gz Qt-b4001abf71b3335cedfaf72ca3b7f25ea46be35c.tar.bz2 |
Add attached property ECMAScript test
Diffstat (limited to 'tests/auto/declarative/qmlecmascript/data')
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/attachedProperty.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/attachedProperty.qml b/tests/auto/declarative/qmlecmascript/data/attachedProperty.qml new file mode 100644 index 0000000..c5088e3 --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/attachedProperty.qml @@ -0,0 +1,11 @@ +import Qt.test 1.0 +import Qt.test 1.0 as Namespace + +MyQmlObject { + id: Me + property int a: MyQmlObject.value + property int b: Namespace.MyQmlObject.value + property int c: Me.Namespace.MyQmlObject.value + property int d: Me.Namespace.MyQmlObject.value +} + |