Fix 'Unknown commands' in qtdeclarative documentation.
authorYann Bodson <yann.bodson@nokia.com>
Tue, 17 Jul 2012 02:06:41 +0000 (12:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jul 2012 05:05:21 +0000 (07:05 +0200)
Change-Id: I179eb828a84af4feb834bac7159d5e1988cc3deb
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/quick/items/context2d/qquickcontext2d.cpp
src/quick/items/qquickshadereffect.cpp
src/quick/items/qquickshadereffectmesh.cpp
src/quick/items/qquickshadereffectsource.cpp
src/quick/util/qquicktransition.cpp

index b78a799..76f795b 100644 (file)
@@ -2284,7 +2284,7 @@ static v8::Handle<v8::Value> ctx2d_measureText(const v8::Arguments &args)
 /*!
   \qmlmethod QtQuick2::Context2D::drawImage(variant image, real sx, real sy, real sw, sh, real dx, real dy, real dw, dh)
   This is an overloaded function.
-  Draws the given item as \a image from source point (\a sx, \a sy) and source width \sw, source height \sh
+  Draws the given item as \a image from source point (\a sx, \a sy) and source width \a sw, source height \a sh
   onto the canvas at point (\a dx, \a dy) and with width \a dw, height \a dh.
 
 
index 6695c60..be30230 100644 (file)
@@ -595,6 +595,7 @@ void QQuickShaderEffectCommon::propertyChanged(QQuickItem *item, int mappedId,
     \l blending is enabled, source-over blending is used. However, additive
     blending can be achieved by outputting zero in the alpha channel.
 
+    \table
     \row
     \li \image declarative-shadereffectitem.png
     \li \qml
@@ -628,7 +629,7 @@ void QQuickShaderEffectCommon::propertyChanged(QQuickItem *item, int mappedId,
             }
         }
         \endqml
-    \endrow
+    \endtable
 
     By default, the ShaderEffect consists of four vertices, one for each
     corner. For non-linear vertex transformations, like page curl, you can
index d1110c5..52a3a0c 100644 (file)
@@ -168,6 +168,7 @@ QSGGeometry *QQuickGridMesh::updateGeometry(QSGGeometry *geometry, const QVector
     For non-linear vertex transformations, you probably want to set the
     resolution higher.
 
+    \table
     \row
     \li \image declarative-gridmesh.png
     \li \qml
@@ -199,7 +200,7 @@ QSGGeometry *QQuickGridMesh::updateGeometry(QSGGeometry *geometry, const QVector
                 }"
         }
         \endqml
-    \endrow
+    \endtable
 */
 
 void QQuickGridMesh::setResolution(const QSize &res)
index b221919..3804c93 100644 (file)
@@ -510,7 +510,6 @@ QImage QQuickShaderEffectTexture::toImage() const
             }
         }
         \endqml
-    \endrow
     \endtable
 
     The ShaderEffectSource type does not redirect any mouse or keyboard
index de32fef..32c9756 100644 (file)
@@ -292,7 +292,7 @@ QQuickTransitionInstance *QQuickTransition::prepare(QQuickStateOperation::Action
     The animation would only be applied when changing from the default state to
     the "brighter" state (i.e. when the mouse is pressed, but not on release).
 
-    Multiple \c to and \from values can be set by using a comma-separated string.
+    Multiple \c to and \from values can be set by using a comma-separated string.
 
     \sa reversible
 */