tests/auto/declarative/qdeclarativelanguage/data/assignLiteralToVariant.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 
       
     3 QtObject {
       
     4     property variant test1: 1
       
     5     property variant test2: 1.7
       
     6     property variant test3: "Hello world!"
       
     7     property variant test4: "#FF008800"
       
     8     property variant test5: "10,10,10x10"
       
     9     property variant test6: "10,10"
       
    10     property variant test7: "10x10"
       
    11     property variant test8: "100,100,100"
       
    12     property variant test9: String("#FF008800")
       
    13     property variant test10: true
       
    14     property variant test11: false
       
    15 }
       
    16