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 QT3DCORE_QABSTRACTSKELETON_H |
5 | #define QT3DCORE_QABSTRACTSKELETON_H |
6 | |
7 | #include <Qt3DCore/qnode.h> |
8 | #include <Qt3DCore/qt3dcore_global.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | namespace Qt3DCore { |
13 | |
14 | class QAbstractSkeletonPrivate; |
15 | |
16 | class Q_3DCORESHARED_EXPORT QAbstractSkeleton : public Qt3DCore::QNode |
17 | { |
18 | Q_OBJECT |
19 | Q_PROPERTY(int jointCount READ jointCount NOTIFY jointCountChanged) |
20 | |
21 | public: |
22 | ~QAbstractSkeleton(); |
23 | |
24 | int jointCount() const; |
25 | |
26 | Q_SIGNALS: |
27 | void jointCountChanged(int jointCount); |
28 | |
29 | protected: |
30 | QAbstractSkeleton(QAbstractSkeletonPrivate &dd, Qt3DCore::QNode *parent = nullptr); |
31 | |
32 | private: |
33 | Q_DECLARE_PRIVATE(QAbstractSkeleton) |
34 | }; |
35 | |
36 | } // namespace Qt3DCore |
37 | |
38 | QT_END_NAMESPACE |
39 | |
40 | #endif // QT3DCORE_QABSTRACTSKELETON_H |
41 | |