summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/repeater.qml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/declarative/repeater.qml')
-rw-r--r--doc/src/snippets/declarative/repeater.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/snippets/declarative/repeater.qml b/doc/src/snippets/declarative/repeater.qml
index a58972f..309fead 100644
--- a/doc/src/snippets/declarative/repeater.qml
+++ b/doc/src/snippets/declarative/repeater.qml
@@ -1,14 +1,14 @@
import Qt 4.6
//! [0]
-Rect { width: 220; height: 20; color: "white"
+Rectangle { width: 220; height: 20; color: "white"
Component { id: Dot
- Rect { width: 20; height: 20; radius: 10; color: "green" }
+ Rectangle { width: 20; height: 20; radius: 10; color: "green" }
}
HorizontalLayout {
- Rect { width: 10; height: 20; color: "red" }
+ Rectangle { width: 10; height: 20; color: "red" }
Repeater { component: Dot; dataSource: 10 }
- Rect { width: 10; height: 20; color: "blue" }
+ Rectangle { width: 10; height: 20; color: "blue" }
}
}
//! [0]