diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-23 10:15:14 +1000 |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-23 10:15:14 +1000 |
commit | dc602e3b9c4d5e4da1d57ed657d82e73401b4531 (patch) | |
tree | 6f1ec1972a6dbeea0830373fe534390da06e6869 /doc/src | |
parent | 8dc527a3837c937630c8bbbab034b8bc84d496fb (diff) | |
download | qt4-tools-dc602e3b9c4d5e4da1d57ed657d82e73401b4531.tar.gz |
Move all QML types to Qt/4.6 namespace.
Adjust examples and demos accordingly.
As per QT-558
Diffstat (limited to 'doc/src')
16 files changed, 32 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/GroupBox.qml b/doc/src/snippets/declarative/GroupBox.qml index fd8d60bbe3..efbe4e5af7 100644 --- a/doc/src/snippets/declarative/GroupBox.qml +++ b/doc/src/snippets/declarative/GroupBox.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + ContentWrapper { id: Container; width: parent.width; height: contents.height children: [ diff --git a/doc/src/snippets/declarative/comments.qml b/doc/src/snippets/declarative/comments.qml index 22e0d18c88..4f8a442abe 100644 --- a/doc/src/snippets/declarative/comments.qml +++ b/doc/src/snippets/declarative/comments.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Text { text: "Hello world!" //a basic greeting /* diff --git a/doc/src/snippets/declarative/content.qml b/doc/src/snippets/declarative/content.qml index 6f9e0d862e..1e01b29962 100644 --- a/doc/src/snippets/declarative/content.qml +++ b/doc/src/snippets/declarative/content.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 200; height: 100; color: "lightgray" GroupBox { diff --git a/doc/src/snippets/declarative/drag.qml b/doc/src/snippets/declarative/drag.qml index 3a573ade60..2191b6fedc 100644 --- a/doc/src/snippets/declarative/drag.qml +++ b/doc/src/snippets/declarative/drag.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + //! [0] Rect { id: blurtest; width: 600; height: 200; color: "white" diff --git a/doc/src/snippets/declarative/gradient.qml b/doc/src/snippets/declarative/gradient.qml index 28018b8cff..19923ac3bb 100644 --- a/doc/src/snippets/declarative/gradient.qml +++ b/doc/src/snippets/declarative/gradient.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 100; height: 100 gradient: Gradient { diff --git a/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml b/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml index accbc3e215..6868385a6e 100644 --- a/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml +++ b/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + ListModel { id: ContactModel ListElement { diff --git a/doc/src/snippets/declarative/gridview/gridview.qml b/doc/src/snippets/declarative/gridview/gridview.qml index 0fca7897c9..208118d0b7 100644 --- a/doc/src/snippets/declarative/gridview/gridview.qml +++ b/doc/src/snippets/declarative/gridview/gridview.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + //! [3] Rect { width: 240; height: 180; color: "white" diff --git a/doc/src/snippets/declarative/listview/dummydata/ContactModel.qml b/doc/src/snippets/declarative/listview/dummydata/ContactModel.qml index 53c745e9b9..31e02ea3e1 100644 --- a/doc/src/snippets/declarative/listview/dummydata/ContactModel.qml +++ b/doc/src/snippets/declarative/listview/dummydata/ContactModel.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + ListModel { id: ContactModel ListElement { diff --git a/doc/src/snippets/declarative/listview/highlight.qml b/doc/src/snippets/declarative/listview/highlight.qml index e3c948edbc..3d13170519 100644 --- a/doc/src/snippets/declarative/listview/highlight.qml +++ b/doc/src/snippets/declarative/listview/highlight.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 180; height: 200; color: "white" diff --git a/doc/src/snippets/declarative/listview/listview.qml b/doc/src/snippets/declarative/listview/listview.qml index 21a5fcea01..50677baa80 100644 --- a/doc/src/snippets/declarative/listview/listview.qml +++ b/doc/src/snippets/declarative/listview/listview.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + //! [3] Rect { width: 180; height: 200; color: "white" diff --git a/doc/src/snippets/declarative/mouseregion.qml b/doc/src/snippets/declarative/mouseregion.qml index 5c1afe61c8..d3e22cdd6a 100644 --- a/doc/src/snippets/declarative/mouseregion.qml +++ b/doc/src/snippets/declarative/mouseregion.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 200; height: 100 HorizontalLayout { //! [0] diff --git a/doc/src/snippets/declarative/pathview/dummydata/MenuModel.qml b/doc/src/snippets/declarative/pathview/dummydata/MenuModel.qml index 44cdaf0181..20b3b7d19b 100644 --- a/doc/src/snippets/declarative/pathview/dummydata/MenuModel.qml +++ b/doc/src/snippets/declarative/pathview/dummydata/MenuModel.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + ListModel { id: MenuModel ListElement { diff --git a/doc/src/snippets/declarative/pathview/pathattributes.qml b/doc/src/snippets/declarative/pathview/pathattributes.qml index 44789f2ac0..39c7122a1b 100644 --- a/doc/src/snippets/declarative/pathview/pathattributes.qml +++ b/doc/src/snippets/declarative/pathview/pathattributes.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 240; height: 200; color: 'white' //! [0] diff --git a/doc/src/snippets/declarative/pathview/pathview.qml b/doc/src/snippets/declarative/pathview/pathview.qml index 11df0a20a1..70f498ce29 100644 --- a/doc/src/snippets/declarative/pathview/pathview.qml +++ b/doc/src/snippets/declarative/pathview/pathview.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 240; height: 200; color: 'white' //! [0] diff --git a/doc/src/snippets/declarative/repeater.qml b/doc/src/snippets/declarative/repeater.qml index c8f9f18564..a58972fcce 100644 --- a/doc/src/snippets/declarative/repeater.qml +++ b/doc/src/snippets/declarative/repeater.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + //! [0] Rect { width: 220; height: 20; color: "white" Component { id: Dot diff --git a/doc/src/snippets/declarative/rotation.qml b/doc/src/snippets/declarative/rotation.qml index 01838ddbfe..c7e184f2e3 100644 --- a/doc/src/snippets/declarative/rotation.qml +++ b/doc/src/snippets/declarative/rotation.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + Rect { width: 360; height: 80 color: "white" |