summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qabstractanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qabstractanimation.h')
-rw-r--r--src/corelib/animation/qabstractanimation.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/corelib/animation/qabstractanimation.h b/src/corelib/animation/qabstractanimation.h
index 0ff6bc5176..7f2577d7f7 100644
--- a/src/corelib/animation/qabstractanimation.h
+++ b/src/corelib/animation/qabstractanimation.h
@@ -42,10 +42,9 @@
#include <QtCore/qobject.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(animation);
-#ifndef QT_NO_ANIMATION
+QT_BEGIN_NAMESPACE
class QAnimationGroup;
class QSequentialAnimationGroup;
@@ -148,9 +147,10 @@ public:
virtual qint64 elapsed() const;
- // ### Qt6: Remove these two functions
- void setStartTime(qint64 startTime);
- qint64 startTime() const;
+#if QT_DEPRECATED_SINCE(5, 13)
+ QT_DEPRECATED void setStartTime(qint64 startTime);
+ QT_DEPRECATED qint64 startTime() const;
+#endif
Q_SIGNALS:
void started();
@@ -169,11 +169,6 @@ private:
};
-
-
-
-#endif //QT_NO_ANIMATION
-
QT_END_NAMESPACE
#endif // QABSTRACTANIMATION_H