summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/include.qml
blob: 61b0461833352549e34ce10e2eea21de661d415e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import QtQuick 1.0
import "include.js" as IncludeTest

QtObject {
    property int test0: 0
    property bool test1: false
    property bool test2: false
    property bool test2_1: false
    property bool test3: false
    property bool test3_1: false

    property int testValue: 99

    Component.onCompleted: { 
        IncludeTest.go(); 
        test0 = IncludeTest.value
        test1 = IncludeTest.test1
        test2 = IncludeTest.test2
        test2_1 = IncludeTest.test2_1
        test3 = IncludeTest.test3
        test3_1 = IncludeTest.test3_1
    }
}