From afbf5a144f40cacce0673292d34eda3086a3745e Mon Sep 17 00:00:00 2001
From: Martin Jones <martin.jones@nokia.com>
Date: Fri, 1 May 2009 10:19:49 +1000
Subject: Format conversion.

---
 src/declarative/fx/qfximage.cpp | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/src/declarative/fx/qfximage.cpp b/src/declarative/fx/qfximage.cpp
index dded48c..1361d68 100644
--- a/src/declarative/fx/qfximage.cpp
+++ b/src/declarative/fx/qfximage.cpp
@@ -68,28 +68,27 @@ QML_DEFINE_TYPE(QFxImage,Image);
     \o \image declarative-qtlogo1.png
     \o Untransformed
     \code
-    <Image src="pics/qtlogo.png"/>
+    Image { source: "pics/qtlogo.png" }
     \endcode
     \row
     \o \image declarative-qtlogo2.png
     \o Stretched
     \code
-    <Image width="160" height="160" src="pics/qtlogo.png"/>
+    Image { width: 160; height: 160; source: "pics/qtlogo.png" }
     \endcode
     \row
     \o \image declarative-qtlogo4.png
     \o Grid-scaled
     \code
-    <Image scaleGrid.left="20" scaleGrid.right="10"
-           scaleGrid.top="14" scaleGrid.bottom="14"
-        width="160" height="160" src="pics/qtlogo.png"/>
+    Image { scaleGrid.left: 20; scaleGrid.right: 10
+            scaleGrid.top: 14; scaleGrid.bottom: 14
+            width: 160; height: 160; source: "pics/qtlogo.png" }
     \endcode
     \row
     \o \image declarative-qtlogo3.png
     \o Tiled
     \code
-    <Image tile="true"
-        width="160" height="160" src="pics/qtlogo.png"/>
+    Image { tile: true; width: 160; height: 160; source: "pics/qtlogo.png" }
     \endcode
     \endtable
  */
@@ -103,7 +102,7 @@ QML_DEFINE_TYPE(QFxImage,Image);
 
     Example:
     \code
-    <Image src="pics/star.png"/>
+    Image { source: "pics/star.png" }
     \endcode
 
     A QFxImage object can be instantiated in Qml using the tag \l Image.
@@ -200,11 +199,11 @@ QFxScaleGrid *QFxImage::scaleGrid()
     of unscaled tiles, clipped to the size of the Image.
 
     \code
-    <Item>
-        <Image src="tile.png" />
-        <Image x="80" width="100" height="100" src="tile.png" />
-        <Image x="190" width="100" height="100" tile="true" src="tile.png" />
-    </Item>
+    Item {
+        Image { source: "tile.png" }
+        Image { x: 80; width: 100; height: 100; src: "tile.png" }
+        Image { x: 190; width: 100; height: 100; tile: true; src: "tile.png" }
+    }
     \endcode
     \image declarative-image_tile.png
 
-- 
cgit v0.12