summaryrefslogtreecommitdiffstats
path: root/src/animation/frontend/qblendedclipanimator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/frontend/qblendedclipanimator.h')
-rw-r--r--src/animation/frontend/qblendedclipanimator.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/animation/frontend/qblendedclipanimator.h b/src/animation/frontend/qblendedclipanimator.h
index be1189f4f..c227a05cc 100644
--- a/src/animation/frontend/qblendedclipanimator.h
+++ b/src/animation/frontend/qblendedclipanimator.h
@@ -41,47 +41,34 @@
#define QT3DANIMATION_QBLENDEDCLIPANIMATOR_H
#include <Qt3DAnimation/qt3danimation_global.h>
-#include <Qt3DCore/qcomponent.h>
+#include <Qt3DAnimation/qabstractclipanimator.h>
QT_BEGIN_NAMESPACE
namespace Qt3DAnimation {
-class QChannelMapper;
class QAbstractClipBlendNode;
class QBlendedClipAnimatorPrivate;
-class QT3DANIMATIONSHARED_EXPORT QBlendedClipAnimator : public Qt3DCore::QComponent
+class QT3DANIMATIONSHARED_EXPORT QBlendedClipAnimator : public Qt3DAnimation::QAbstractClipAnimator
{
Q_OBJECT
Q_PROPERTY(Qt3DAnimation::QAbstractClipBlendNode *blendTree READ blendTree WRITE setBlendTree NOTIFY blendTreeChanged)
- Q_PROPERTY(Qt3DAnimation::QChannelMapper *channelMapper READ channelMapper WRITE setChannelMapper NOTIFY channelMapperChanged)
- Q_PROPERTY(int loops READ loops WRITE setLoops NOTIFY loopsChanged)
- Q_PROPERTY(bool running READ isRunning WRITE setRunning NOTIFY runningChanged)
public:
explicit QBlendedClipAnimator(Qt3DCore::QNode *parent = nullptr);
~QBlendedClipAnimator();
- bool isRunning() const;
- Qt3DAnimation::QChannelMapper *channelMapper() const;
QAbstractClipBlendNode *blendTree() const;
- int loops() const;
public Q_SLOTS:
- void setRunning(bool running);
- void setChannelMapper(QChannelMapper *channelMapper);
void setBlendTree(QAbstractClipBlendNode * blendTree);
- void setLoops(int loops);
Q_SIGNALS:
void blendTreeChanged(QAbstractClipBlendNode * blendTree);
- void runningChanged(bool running);
- void channelMapperChanged(QChannelMapper *channelMapper);
- void loopsChanged(int loops);
protected:
- QBlendedClipAnimator(QBlendedClipAnimatorPrivate &dd, Qt3DCore::QNode *parent = nullptr);
+ explicit QBlendedClipAnimator(QBlendedClipAnimatorPrivate &dd, Qt3DCore::QNode *parent = nullptr);
private:
Q_DECLARE_PRIVATE(QBlendedClipAnimator)