summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-05-07 05:58:10 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-05-11 23:46:46 (GMT)
commit6a3bbb128046942b169a3f7e6c0cf14397662d83 (patch)
tree1e497cd5336a983e6b2c375c4debdc2ac3a77e42
parent355bacaa767f48014478d91e3d79f19f966c9756 (diff)
downloadQt-6a3bbb128046942b169a3f7e6c0cf14397662d83.zip
Qt-6a3bbb128046942b169a3f7e6c0cf14397662d83.tar.gz
Qt-6a3bbb128046942b169a3f7e6c0cf14397662d83.tar.bz2
Clean up
-rw-r--r--doc/src/declarative/qdeclarativeintro.qdoc5
-rw-r--r--examples/declarative/xmldata/daringfireball.qml1
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/declarative/qdeclarativeintro.qdoc b/doc/src/declarative/qdeclarativeintro.qdoc
index a98c9e1..acf4ec9 100644
--- a/doc/src/declarative/qdeclarativeintro.qdoc
+++ b/doc/src/declarative/qdeclarativeintro.qdoc
@@ -60,10 +60,13 @@ technologies like HTML and CSS, but it's not required.
QML looks like this:
\code
+import Qt 4.7
+
Rectangle {
width: 200
height: 200
- color: "white"
+ color: "blue"
+
Image {
source: "pics/logo.png"
anchors.centerIn: parent
diff --git a/examples/declarative/xmldata/daringfireball.qml b/examples/declarative/xmldata/daringfireball.qml
index a1df809..480b13c 100644
--- a/examples/declarative/xmldata/daringfireball.qml
+++ b/examples/declarative/xmldata/daringfireball.qml
@@ -1,7 +1,6 @@
import Qt 4.7
Rectangle {
- color: "white"
width: 600; height: 600
XmlListModel {