summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/methods.5.qml
blob: 0065adda484b4b494f44833869d3d185b1102a6e (plain)
1
2
3
4
5
6
7
8
9
import Qt 4.7

Item {
    property alias blah: item.x
    Item { id: item }

    function testFunction() { return 9; }
    property int test: testFunction();
}