Revision control
++ // Copyright (C) 2016 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
++ // Qt-Security score:significant reason:default
++
++ #ifndef QANIMATIONGROUP_H
++ #define QANIMATIONGROUP_H
++
++ #include <QtCore/qabstractanimation.h>
++
++ QT_REQUIRE_CONFIG(animation);
++
++ QT_BEGIN_NAMESPACE
++
++ class QAnimationGroupPrivate;
++ class Q_CORE_EXPORT QAnimationGroup : public QAbstractAnimation
++ {
++ Q_OBJECT
++
++ public:
++ QAnimationGroup(QObject *parent = nullptr);
++ ~QAnimationGroup();
++
++ QAbstractAnimation *animationAt(int index) const;
++ int animationCount() const;
++ int indexOfAnimation(QAbstractAnimation *animation) const;
++ void addAnimation(QAbstractAnimation *animation);
++ void insertAnimation(int index, QAbstractAnimation *animation);
++ void removeAnimation(QAbstractAnimation *animation);
++ QAbstractAnimation *takeAnimation(int index);
++ void clear();
++
++ protected:
++ QAnimationGroup(QAnimationGroupPrivate &dd, QObject *parent);
++ bool event(QEvent *event) override;
++
++ private:
++ Q_DISABLE_COPY(QAnimationGroup)
++ Q_DECLARE_PRIVATE(QAnimationGroup)
++ };
++
++ QT_END_NAMESPACE
++
++ #endif //QANIMATIONGROUP_H