1// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DANIMATION_QABSTRACTANIMATIONCLIP_H
5#define QT3DANIMATION_QABSTRACTANIMATIONCLIP_H
6
7#include <Qt3DAnimation/qt3danimation_global.h>
8#include <Qt3DCore/qnode.h>
9#include <QtCore/qurl.h>
10
11QT_BEGIN_NAMESPACE
12
13namespace Qt3DAnimation {
14
15class QAbstractAnimationClipPrivate;
16
17class Q_3DANIMATIONSHARED_EXPORT QAbstractAnimationClip : public Qt3DCore::QNode
18{
19 Q_OBJECT
20 Q_PROPERTY(float duration READ duration NOTIFY durationChanged)
21
22public:
23 ~QAbstractAnimationClip();
24
25 float duration() const;
26
27Q_SIGNALS:
28 void durationChanged(float duration);
29
30protected:
31 QAbstractAnimationClip(QAbstractAnimationClipPrivate &dd, Qt3DCore::QNode *parent = nullptr);
32
33private:
34 Q_DECLARE_PRIVATE(QAbstractAnimationClip)
35};
36
37} // namespace Qt3DAnimation
38
39QT_END_NAMESPACE
40
41#endif // QT3DANIMATION_QABSTRACTANIMATIONCLIP_H
42

source code of qt3d/src/animation/frontend/qabstractanimationclip.h