doc: Fix links and auto-links

Changed function names to include parentheses so that they can be auto-
linked to getters and setters for bindable properties.

Change-Id: I72a06a7def55348bd1295e559751a16c62c93a84
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit d02ac6b3e02d8a5822fc772e456249afaf00dfb3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 57baa91ec2ad0964a9da0f1cf0a7caa9e8536d28)
This commit is contained in:
David Boddie 2025-02-07 14:22:59 +01:00 committed by Qt Cherry-pick Bot
parent 17228c1edb
commit defdceb00c
3 changed files with 4 additions and 5 deletions

View File

@ -1276,7 +1276,7 @@ int QAbstractAnimation::currentLoopTime() const
\brief the current time and progress of the animation
This property describes the animation's current time. You can change the
current time by calling setCurrentTime, or you can call start() and let
current time by calling setCurrentTime(), or you can call start() and let
the animation run, setting the current time automatically as the animation
progresses.
@ -1428,8 +1428,7 @@ void QAbstractAnimation::pause()
/*!
Resumes the animation after it was paused. When the animation is resumed,
it emits the resumed() and stateChanged() signals. The currenttime is not
changed.
it emits the stateChanged() signal. The currentTime property is not changed.
\sa start(), pause(), state()
*/

View File

@ -243,7 +243,7 @@ void QPropertyAnimation::updateCurrentValue(const QVariant &value)
/*!
\reimp
If the startValue is not defined when the state of the animation changes from Stopped to Running,
If the \l{QVariantAnimation::}{startValue} is not defined when the state of the animation changes from Stopped to Running,
the current property value is used as the initial value for the animation.
*/
void QPropertyAnimation::updateState(QAbstractAnimation::State newState,

View File

@ -338,7 +338,7 @@ QVariantAnimation::~QVariantAnimation()
elastic effect on the values of the interpolated variant.
QVariantAnimation will use the QEasingCurve::valueForProgress() to
transform the "normalized progress" (currentTime / totalDuration)
transform the "normalized progress" (currentTime() / totalDuration())
of the animation into the effective progress actually
used by the animation. It is this effective progress that will be
the progress when interpolated() is called. Also, the steps in the