diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-08 06:55:57 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-08 07:23:00 (GMT) |
commit | 3baf285917e2ea3183866768807f2495010602ab (patch) | |
tree | 46b1b25adc1b7e7b988f97fc039c6c048b29d3cd /tests/auto/declarative/qdeclarativelanguage/data | |
parent | 7d82f3875cd26c1cb0ad46ae0a9fddeb87e049d6 (diff) | |
download | Qt-3baf285917e2ea3183866768807f2495010602ab.zip Qt-3baf285917e2ea3183866768807f2495010602ab.tar.gz Qt-3baf285917e2ea3183866768807f2495010602ab.tar.bz2 |
Improve static assignment to QVariant's in the int and double case
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/assignLiteralToVariant.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/assignLiteralToVariant.qml b/tests/auto/declarative/qdeclarativelanguage/data/assignLiteralToVariant.qml new file mode 100644 index 0000000..a1d33ef --- /dev/null +++ b/tests/auto/declarative/qdeclarativelanguage/data/assignLiteralToVariant.qml @@ -0,0 +1,14 @@ +import Qt 4.6 + +QtObject { + property var test1: 1 + property var test2: 1.7 + property var test3: "Hello world!" + property var test4: "#FF008800" + property var test5: "10,10,10x10" + property var test6: "10,10" + property var test7: "10x10" + property var test8: "100,100,100" + property var test9: String("#FF008800") +} + |