summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-20 15:01:39 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-28 21:22:10 +0200
commit17ba201a3f2138e9a8fb2c8b63b9f1ccdf8eb9f3 (patch)
treee240390cee0520202e3dc13429ab3a32a2c3cbe6 /src/corelib/animation
parentae9a16b5cde506463914092e3c77edb9a6a6a4b7 (diff)
QAnimationDriver: remove deprecated startTime(), setStartTime()
Deprecated since 5.13 Change-Id: Ie833647e4bd87698a882352f89b4727790ffeeaa Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/animation')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp31
-rw-r--r--src/corelib/animation/qabstractanimation.h5
2 files changed, 0 insertions, 36 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index 52adc343ab..c0a119f8b3 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -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.
diff --git a/src/corelib/animation/qabstractanimation.h b/src/corelib/animation/qabstractanimation.h
index 7f2577d7f7..ed0a75ea1b 100644
--- a/src/corelib/animation/qabstractanimation.h
+++ b/src/corelib/animation/qabstractanimation.h
@@ -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();