summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/include_shared.qml
blob: fb200a849b3bec28869ccc29b5975d81f6c3ee95 (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 1.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
    }
}