diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-09-09 05:14:21 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-09-09 05:14:21 (GMT) |
commit | 6878a0b7c507d21366cacee0a09bafeb81726d82 (patch) | |
tree | 457c32d1ec3044efe99c5950bce1cca6db41e41a /examples/declarative/tutorials/contacts | |
parent | 7731e5f7d33d3ec251299c7651e777d7e0054573 (diff) | |
download | Qt-6878a0b7c507d21366cacee0a09bafeb81726d82.zip Qt-6878a0b7c507d21366cacee0a09bafeb81726d82.tar.gz Qt-6878a0b7c507d21366cacee0a09bafeb81726d82.tar.bz2 |
Move ComponentInstance functionality into Loader
Diffstat (limited to 'examples/declarative/tutorials/contacts')
-rw-r--r-- | examples/declarative/tutorials/contacts/2_Reuse/1b/BlueRect.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/tutorials/contacts/2_Reuse/1b/BlueRect.qml b/examples/declarative/tutorials/contacts/2_Reuse/1b/BlueRect.qml index ec115fe..7bcdf50 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/1b/BlueRect.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/1b/BlueRect.qml @@ -16,18 +16,18 @@ Rectangle { } } ] - ComponentInstance { - component: redRectangle + Loader { + sourceComponent: redRectangle anchors.right: parent.right anchors.top: parent.top } - ComponentInstance { - component: redRectangle + Loader { + sourceComponent: redRectangle anchors.left: parent.left anchors.top: parent.top } - ComponentInstance { - component: redRectangle + Loader { + sourceComponent: redRectangle anchors.left: parent.left anchors.bottom: parent.bottom } |