summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-13 13:13:10 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-13 13:13:10 (GMT)
commit62677589caf8b2f45f369cfc9df30ded323c4155 (patch)
tree59d7879a5e3a1e704c78cdddbb93a0fb266cacb7
parent960d2a7639062b6582d460aaae140b4d2e0a8b70 (diff)
downloadQt-62677589caf8b2f45f369cfc9df30ded323c4155.zip
Qt-62677589caf8b2f45f369cfc9df30ded323c4155.tar.gz
Qt-62677589caf8b2f45f369cfc9df30ded323c4155.tar.bz2
Cleaning docs
Highlight part of the general description in QTimeLine Task-number: 218487 Rev-by: Geir Vattekar
-rw-r--r--src/corelib/tools/qtimeline.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/tools/qtimeline.cpp b/src/corelib/tools/qtimeline.cpp
index 2979a09..3a03558 100644
--- a/src/corelib/tools/qtimeline.cpp
+++ b/src/corelib/tools/qtimeline.cpp
@@ -225,7 +225,9 @@ void QTimeLinePrivate::setCurrentTime(int msecs)
valueForTime() and emitting valueChanged(). By default, valueForTime()
applies an interpolation algorithm to generate these value. You can choose
from a set of predefined timeline algorithms by calling
- setCurveShape(). By default, QTimeLine uses the EaseInOut curve shape,
+ setCurveShape().
+
+ Note that by default, QTimeLine uses the EaseInOut curve shape,
which provides a value that grows slowly, then grows steadily, and
finally grows slowly. For a custom timeline, you can reimplement
valueForTime(), in which case QTimeLine's curveShape property is ignored.