summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-05-13 08:53:09 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-05-13 08:53:09 (GMT)
commit04e30e3cc165b2617b223fff64248080fdf66707 (patch)
treeb4a2dd18e51f74196d75155c9fe0fbf323ceb525
parentb40494a7f82214eefa8b94845d93aefb961f8855 (diff)
downloadQt-04e30e3cc165b2617b223fff64248080fdf66707.zip
Qt-04e30e3cc165b2617b223fff64248080fdf66707.tar.gz
Qt-04e30e3cc165b2617b223fff64248080fdf66707.tar.bz2
qdoc: Fixed some qdoc errors.
-rw-r--r--doc/src/qnamespace.qdoc2
-rw-r--r--src/corelib/animation/qvariantanimation.cpp16
2 files changed, 8 insertions, 10 deletions
diff --git a/doc/src/qnamespace.qdoc b/doc/src/qnamespace.qdoc
index fc4310b..65f9b5d 100644
--- a/doc/src/qnamespace.qdoc
+++ b/doc/src/qnamespace.qdoc
@@ -2676,5 +2676,5 @@
\value Repeat Tile the image until there is no more space. May crop the last image.
\value Round Like Repeat, but scales the images down to ensure that the last image is not cropped.
- \sa QPixmapBorders, qDrawBorderPixmap()
+ \sa qDrawBorderPixmap()
*/
diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp
index 5c4339d..331024e 100644
--- a/src/corelib/animation/qvariantanimation.cpp
+++ b/src/corelib/animation/qvariantanimation.cpp
@@ -64,20 +64,18 @@ QT_BEGIN_NAMESPACE
shared functionality.
QVariantAnimation cannot be used directly as it is an abstract
- class; it does not implement
- \l{QAbstractAnimation::}{updateCurrentValue()} from
- QAbstractAnimation. The class performs interpolation over
- \l{QVariant}s, but leaves using the interpolated values to its
- subclasses. Currently, Qt provides QPropertyAnimation, which
- animates Qt \l{Qt's Property System}{properties}. See the
- QPropertyAnimation class description if you wish to animate such
- properties.
+ class; it does not implement \l{updateCurrentValue()}. The class
+ performs interpolation over \l{QVariant}s, but leaves using the
+ interpolated values to its subclasses. Currently, Qt provides
+ QPropertyAnimation, which animates Qt \l{Qt's Property System}
+ {properties}. See the QPropertyAnimation class description if you
+ wish to animate such properties.
You can then set start and end values for the property by calling
setStartValue() and setEndValue(), and finally call start() to
start the animation. QVariantAnimation will interpolate the
property of the target object and emit valueChanged(). To react to
- a change in the current value you have to reimplement the
+ a change in the current value you have to implement the
updateCurrentValue() virtual function.
It is also possible to set values at specified steps situated