summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeloader/data/CreationContextLoader.qml
blob: bfc9a8dd8a9053ba011d2705d88cf1944ffb4356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 1.0

Loader {
    id: myLoader
    property int testProperty: 1912
    sourceComponent: loaderComponent
    Component {
        id: loaderComponent
        Item {
            Component.onCompleted: {
                test = (myLoader.testProperty == 1912);
            }
        }
    }
}