summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtransform.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-05-13 07:18:21 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-05-13 07:18:21 (GMT)
commit902bc0038495a63949bc6781bb0c0494903d17ab (patch)
treef0e3c844623168c6cb7fd373acc1cc02fc7771c5 /src/declarative/fx/qfxtransform.cpp
parent4788467341f4363c383589402eccd3e1987c1df3 (diff)
downloadQt-902bc0038495a63949bc6781bb0c0494903d17ab.zip
Qt-902bc0038495a63949bc6781bb0c0494903d17ab.tar.gz
Qt-902bc0038495a63949bc6781bb0c0494903d17ab.tar.bz2
qdoc: Fixed some qdoc errors.
Diffstat (limited to 'src/declarative/fx/qfxtransform.cpp')
-rw-r--r--src/declarative/fx/qfxtransform.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/declarative/fx/qfxtransform.cpp b/src/declarative/fx/qfxtransform.cpp
index 289333c..7b76367 100644
--- a/src/declarative/fx/qfxtransform.cpp
+++ b/src/declarative/fx/qfxtransform.cpp
@@ -397,12 +397,12 @@ void QFxRotation3D::update()
}
/*!
- \internal
- \qmlclass Translation3D
- \brief A Translation3D object provides a way to move an Item along an axis.
+ \internal
+ \qmlclass Translation3D
+ \brief A Translation3D object provides a way to move an Item along an axis.
- The following example translates the image to 10, 3.
- \qml
+ The following example translates the image to 10, 3.
+ \qml
Image {
source: "logo.png"
transform: [
@@ -415,7 +415,7 @@ Image {
}
]
}
- \endqml
+ \endqml
*/
QML_DEFINE_TYPE(QFxTranslation3D,Translation3D);
@@ -431,18 +431,18 @@ QFxTranslation3D::~QFxTranslation3D()
}
/*!
- \qmlproperty real Translation3D::axis.startX
- \qmlproperty real Translation3D::axis.startY
- \qmlproperty real Translation3D::axis.endX
- \qmlproperty real Translation3D::axis.endY
- \qmlproperty real Translation3D::axis.endZ
-
- A translation axis is specified by 2 points in 3D space: a start point and
- an end point. The z-position of the start point is assumed to be 0, and cannot
- be changed. Changing the z-position of the end point is only valid when running
- under OpenGL.
-
- \sa Axis
+ \qmlproperty real Translation3D::axis.startX
+ \qmlproperty real Translation3D::axis.startY
+ \qmlproperty real Translation3D::axis.endX
+ \qmlproperty real Translation3D::axis.endY
+ \qmlproperty real Translation3D::axis.endZ
+
+ A translation axis is specified by 2 points in 3D space: a start
+ point and an end point. The z-position of the start point is assumed
+ to be 0, and cannot be changed. Changing the z-position of the end
+ point is only valid when running under OpenGL.
+
+ \sa Axis
*/
QFxAxis *QFxTranslation3D::axis()
{
@@ -450,15 +450,15 @@ QFxAxis *QFxTranslation3D::axis()
}
/*!
- \qmlproperty real Translation3D::distance
+ \qmlproperty real Translation3D::distance
- The distance to translate along the specified axis. distance is a multiplier;
- in the example below, a distance of 1 would translate to 100, 50, while a distance
- of 0.5 would translate to 50, 25.
+ The distance to translate along the specified axis. distance is a
+ multiplier; in the example below, a distance of 1 would translate to
+ 100, 50, while a distance of 0.5 would translate to 50, 25.
- \qml
- Translation3D { axis.startX: 0; axis.startY: 0; axis.endX: 100; axis.endY: 50 }
- \endqml
+ \qml
+ Translation3D { axis.startX: 0; axis.startY: 0; axis.endX: 100; axis.endY: 50 }
+ \endqml
*/
qreal QFxTranslation3D::distance() const
{
@@ -530,12 +530,12 @@ void QFxTranslation3D::update()
}
/*!
- \internal
- \qmlclass Perspective
- \brief A Perspective object specifies a perspective transformation.
+ \internal
+ \qmlclass Perspective
+ \brief A Perspective object specifies a perspective transformation.
- A Perspective transform only affects an item when running under OpenGL; when running under software
- rasterization it has no effect.
+ A Perspective transform only affects an item when running under
+ OpenGL. When running under software rasterization it has no effect.
*/
QML_DEFINE_TYPE(QFxPerspective,Perspective);