aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/v4/data/unaryMinus.qml
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-02-16 14:43:03 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-24 04:51:31 +0100
commitb855240b782395f94315f43ea3e7e182299fac48 (patch)
treebc594c04449be8cd14cd0ab0bb72dafc2be0ffb2 /tests/auto/qml/v4/data/unaryMinus.qml
parent6a42a6e0a9a1abdda0d07a5a20b4ac7e45348684 (diff)
Rename QDeclarative symbols to QQuick and QQml
Symbols beginning with QDeclarative are already exported by the quick1 module. Users can apply the bin/rename-qtdeclarative-symbols.sh script to modify client code using the previous names of the renamed symbols. Task-number: QTBUG-23737 Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qml/v4/data/unaryMinus.qml')
-rw-r--r--tests/auto/qml/v4/data/unaryMinus.qml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/qml/v4/data/unaryMinus.qml b/tests/auto/qml/v4/data/unaryMinus.qml
new file mode 100644
index 0000000000..410654fc3c
--- /dev/null
+++ b/tests/auto/qml/v4/data/unaryMinus.qml
@@ -0,0 +1,24 @@
+import QtQuick 2.0
+
+Item {
+ property real test1: -i1.p2
+ property int test2: -i1.p2
+ property real test3: -i1.p1
+ property int test4: -i1.p1
+ property real test5: -i1.p3
+ property int test6: -i1.p3
+ property real test7: -i1.p4
+ property int test8: -i1.p4
+ property real test9: -i1.p5
+ property int test10: -i1.p5
+
+ QtObject {
+ id: i1
+ property real p1: -3.7
+ property int p2: 18
+ property real p3: -3.3
+ property int p4: -7
+ property real p5: 4.4
+ }
+ }
+