Rename Qt Quick-specific classes to QQuick*
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquickloader / data / initialPropertyValues.8.qml
1 import QtQuick 2.0
2
3 Item {
4     id: root
5     property int initialValue: 0
6
7     Loader {
8         id: loader
9         objectName: "loader"
10         active: false
11         onLoaded: {
12             root.initialValue = loader.item.canary;         // should be six
13         }
14     }
15
16     Component.onCompleted: {
17         loader.setSource("http://127.0.0.1:14450/InitialPropertyValuesComponent.qml", {"canary": 6});
18         loader.active = true;
19     }
20 }