Rename QDeclarative symbols to QQuick and QQml
[profile/ivi/qtdeclarative.git] / tests / auto / quick / qquickloader / data / parented.qml
1 import QtQuick 2.0
2
3 Item {
4     id: root
5     width: 300; height: 300
6
7     Component {
8         id: comp
9         Rectangle {
10             objectName: "comp"
11             parent: root
12             anchors.fill: parent
13             color: "blue"
14         }
15     }
16
17     Loader {
18         width: 200; height: 200
19         sourceComponent: comp
20     }
21 }