QAnimationDriver: remove deprecated startTime(), setStartTime()

Deprecated since 5.13

Change-Id: Ie833647e4bd87698a882352f89b4727790ffeeaa
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Edward Welbourne 2020-07-20 15:01:39 +02:00
parent ae9a16b5cd
commit 17ba201a3f
2 changed files with 0 additions and 36 deletions

View File

@ -772,37 +772,6 @@ QAnimationDriver::~QAnimationDriver()
uninstall();
}
#if QT_DEPRECATED_SINCE(5, 13)
/*!
Sets the time at which an animation driver should start at.
This is to take into account that pauses can occur in running
animations which will stop the driver, but the time still
increases.
\obsolete
This logic is now handled internally in the animation system.
*/
void QAnimationDriver::setStartTime(qint64)
{
}
/*!
Returns the start time of the animation.
\obsolete
This logic is now handled internally in the animation system.
*/
qint64 QAnimationDriver::startTime() const
{
return 0;
}
#endif
/*!
Advances the animation based to the specified \a timeStep. This function should
be continuously called by the driver subclasses while the animation is running.

View File

@ -147,11 +147,6 @@ public:
virtual qint64 elapsed() const;
#if QT_DEPRECATED_SINCE(5, 13)
QT_DEPRECATED void setStartTime(qint64 startTime);
QT_DEPRECATED qint64 startTime() const;
#endif
Q_SIGNALS:
void started();
void stopped();