aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/PropertyVarCircularComponent2.qml
blob: 6a49cb931703709128ac8910910ac7e04f23a807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import QtQuick 2.0
import Qt.test 1.0

// Similar to PVCC.qml except that it has another var property
// It will have a different metaobject.
Item {
    id: first
    property var anotherVp: 6
    property var vp: Item {
        id: second
        property var vp: Item {
            id: third
            property var vp: Item {
                id: fourth
                property var vp: Item {
                    id: fifth
                    property int fifthCanary: 5
                    property var circ: third.vp
                    property MyScarceResourceObject srp;
                    srp: MyScarceResourceObject { id: scarceResourceProvider }
                    property variant memoryHog2: scarceResourceProvider.newScarceResource()
                }
            }
        }
    }
}