Change references to affine example.
authorCasper van Donderen <casper.vandonderen@nokia.com>
Mon, 27 Jun 2011 11:34:46 +0000 (13:34 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Jun 2011 12:20:17 +0000 (14:20 +0200)
Because of the merge of demos and examples all references to all demos
have to be updated. This is the update for the affine example.

Change-Id: I83f24010162a73e11786587365c6f10b51d4bf4b
Reviewed-on: http://codereview.qt.nokia.com/774
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Boddie
doc/src/demos/affine.qdoc
doc/src/examples/transformations.qdoc
doc/src/painting-and-printing/coordsys.qdoc
src/gui/painting/qmatrix.cpp
src/gui/painting/qpainter.cpp
src/gui/painting/qtransform.cpp
tests/auto/guiapplauncher/demos.txt
tests/auto/guiapplauncher/examples.txt

index adc1a78..c14a452 100644 (file)
@@ -26,7 +26,7 @@
 ****************************************************************************/
 
 /*!
-    \example demos/affine
+    \example painting/affine
     \title Affine Transformations
 
     In this demo we show Qt's ability to perform affine transformations
index 26b558c..660089c 100644 (file)
     QTransform documentation.
 
     The Qt reference documentation provides several painting
-    demos. Among these is the \l {demos/affine}{Affine
-    Transformations} demo that shows Qt's ability to perform
+    demos. Among these is the \l {painting/affine}{Affine
+    Transformations} example that shows Qt's ability to perform
     transformations on painting operations. The demo also allows the
     user to experiment with the various transformation operations.
 */
index 35702b9..96eebd0 100644 (file)
     \endtable
 
     You can also twist the coordinate system around the origin using
-    the QPainter::shear() function. See the \l {demos/affine}{Affine
-    Transformations} demo for a visualization of a sheared coordinate
+    the QPainter::shear() function. See the \l {painting/affine}{Affine
+    Transformations} example for a visualization of a sheared coordinate
     system. All the transformation operations operate on QPainter's
     transformation matrix that you can retrieve using the
     QPainter::worldTransform() function. A matrix transforms a point
 
     For a demonstation of Qt's ability to perform affine
     transformations on painting operations, see the \l
-    {demos/affine}{Affine Transformations} demo which allows the user
+    {painting/affine}{Affine Transformations} example which allows the user
     to experiment with the transformation operations.  See also the \l
     {painting/transformations}{Transformations} example which shows
     how transformations influence the way that QPainter renders
index 6209e66..7bb2324 100644 (file)
@@ -177,7 +177,7 @@ QT_BEGIN_NAMESPACE
     \endtable
 
     \sa QPainter, QTransform, {Coordinate System}, 
-    {demos/affine}{Affine Transformations Demo}, {Transformations Example}
+    {painting/affine}{Affine Transformations Example}, {Transformations Example}
 */
 
 
index b13ca94..73addd2 100644 (file)
@@ -1223,7 +1223,7 @@ void QPainterPrivate::updateState(QPainterState *newState)
     rotate it clockwise and translate() to translate it (i.e. adding a
     given offset to the points). You can also twist the coordinate
     system around the origin using the shear() function. See the \l
-    {demos/affine}{Affine Transformations} demo for a visualization of
+    {painting/affine}{Affine Transformations} example for a visualization of
     a sheared coordinate system.
 
     See also the \l {painting/transformations}{Transformations}
@@ -1234,9 +1234,9 @@ void QPainterPrivate::updateState(QPainterState *newState)
     \table 100%
     \row
     \o
-    \bold {Affine Transformations Demo}
+    \bold {Affine Transformations Example}
 
-    The \l {demos/affine}{Affine Transformations} demo show Qt's
+    The \l {painting/affine}{Affine Transformations} example shows Qt's
     ability to perform affine transformations on painting
     operations. The demo also allows the user to experiment with the
     transformation operations and see the results immediately.
index 4d7b339..e42eec6 100644 (file)
@@ -223,8 +223,8 @@ QT_BEGIN_NAMESPACE
     \snippet doc/src/snippets/transform/main.cpp 2
     \endtable
 
-    \sa QPainter, {Coordinate System}, {demos/affine}{Affine
-    Transformations Demo}, {Transformations Example}
+    \sa QPainter, {Coordinate System}, {painting/affine}{Affine
+    Transformations Example}, {Transformations Example}
 */
 
 /*!
index 2835f09..8853c26 100644 (file)
@@ -1,4 +1,3 @@
-"Affine Demo", "demos/affine", "affine", 0, -1
 "Books Demo", "demos/books", "books", 0, -1
 "Chip Demo", "demos/chip", "chip", 0, -1
 "Composition Demo", "demos/composition", "composition", 0, -1
index fea7e54..fac703a 100644 (file)
@@ -61,6 +61,7 @@
 "opengl/overpainting Example", "examples/opengl/overpainting", "overpainting", 10, -1
 "opengl/samplebuffers Example", "examples/opengl/samplebuffers", "samplebuffers", 10, -1
 "opengl/textures Example", "examples/opengl/textures", "textures", 10, -1
+"Affine Transformations Example", "examples/painting/affine", "affine", 0, -1
 "painting/basicdrawing Example", "examples/painting/basicdrawing", "basicdrawing", 10, -1
 "painting/concentriccircles Example", "examples/painting/concentriccircles", "concentriccircles", 0, -1
 "painting/fontsampler Example", "examples/painting/fontsampler", "fontsampler", 0, -1