aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/sequenceConversion.read.error.qml
blob: 12a76d7e7d21721ee280d40cd2ecb7b725ecf2c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import QtQuick 2.0
import Qt.test 1.0

Item {
    id: root
    objectName: "root"

    MySequenceConversionObject {
        id: msco
        objectName: "msco"
    }

    property int pointListLength: 0
    property variant pointList

    function performTest() {
        // we have NOT registered QList<QPoint> as a type
        pointListLength = msco.pointListProperty.length;
        pointList = msco.pointListProperty;
    }
}