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:
parent
ae9a16b5cd
commit
17ba201a3f
@ -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.
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user