Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-05 08:47:43

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 // Qt-Security score:significant reason:default
0004 
0005 #ifndef QPARALLELANIMATIONGROUP_H
0006 #define QPARALLELANIMATIONGROUP_H
0007 
0008 #include <QtCore/qanimationgroup.h>
0009 
0010 QT_REQUIRE_CONFIG(animation);
0011 
0012 QT_BEGIN_NAMESPACE
0013 
0014 class QParallelAnimationGroupPrivate;
0015 class Q_CORE_EXPORT QParallelAnimationGroup : public QAnimationGroup
0016 {
0017     Q_OBJECT
0018 
0019 public:
0020     QParallelAnimationGroup(QObject *parent = nullptr);
0021     ~QParallelAnimationGroup();
0022 
0023     int duration() const override;
0024 
0025 protected:
0026     QParallelAnimationGroup(QParallelAnimationGroupPrivate &dd, QObject *parent);
0027     bool event(QEvent *event) override;
0028 
0029     void updateCurrentTime(int currentTime) override;
0030     void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override;
0031     void updateDirection(QAbstractAnimation::Direction direction) override;
0032 
0033 private:
0034     Q_DISABLE_COPY(QParallelAnimationGroup)
0035     Q_DECLARE_PRIVATE(QParallelAnimationGroup)
0036     Q_PRIVATE_SLOT(d_func(), void _q_uncontrolledAnimationFinished())
0037 };
0038 
0039 QT_END_NAMESPACE
0040 
0041 #endif // QPARALLELANIMATIONGROUP