aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/include_shared.qml
blob: 66c07e871ba27393744b6a8e5b7451a4df1436b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import QtQuick 2.0
import "include_shared.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

    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
    }
}