Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtCore/qparallelanimationgroup.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 
0004 #ifndef QPARALLELANIMATIONGROUP_H
0005 #define QPARALLELANIMATIONGROUP_H
0006 
0007 #include <QtCore/qanimationgroup.h>
0008 
0009 QT_REQUIRE_CONFIG(animation);
0010 
0011 QT_BEGIN_NAMESPACE
0012 
0013 class QParallelAnimationGroupPrivate;
0014 class Q_CORE_EXPORT QParallelAnimationGroup : public QAnimationGroup
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     QParallelAnimationGroup(QObject *parent = nullptr);
0020     ~QParallelAnimationGroup();
0021 
0022     int duration() const override;
0023 
0024 protected:
0025     QParallelAnimationGroup(QParallelAnimationGroupPrivate &dd, QObject *parent);
0026     bool event(QEvent *event) override;
0027 
0028     void updateCurrentTime(int currentTime) override;
0029     void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override;
0030     void updateDirection(QAbstractAnimation::Direction direction) override;
0031 
0032 private:
0033     Q_DISABLE_COPY(QParallelAnimationGroup)
0034     Q_DECLARE_PRIVATE(QParallelAnimationGroup)
0035     Q_PRIVATE_SLOT(d_func(), void _q_uncontrolledAnimationFinished())
0036 };
0037 
0038 QT_END_NAMESPACE
0039 
0040 #endif // QPARALLELANIMATIONGROUP