aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/objectInVar.qml
blob: 9177ff208902e6419edaecec45957293ae9174f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pragma Strict
import QtQml

QtObject {
    id: self

    property var thing: self

    function doThing() : bool {
        if (self.thing)
            return true;
        else
            return false;
    }
}