1 | // Copyright (C) 2014 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 QT3DRENDER_QFRAMEGRAPHNODE_H |
5 | #define QT3DRENDER_QFRAMEGRAPHNODE_H |
6 | |
7 | #include <Qt3DCore/qnode.h> |
8 | #include <Qt3DRender/qt3drender_global.h> |
9 | #include <QtCore/QObject> |
10 | |
11 | QT_BEGIN_NAMESPACE |
12 | |
13 | namespace Qt3DRender { |
14 | |
15 | class QFrameGraphNodePrivate; |
16 | |
17 | class Q_3DRENDERSHARED_EXPORT QFrameGraphNode : public Qt3DCore::QNode |
18 | { |
19 | Q_OBJECT |
20 | public: |
21 | explicit QFrameGraphNode(Qt3DCore::QNode *parent = nullptr); |
22 | ~QFrameGraphNode(); |
23 | |
24 | QFrameGraphNode *parentFrameGraphNode() const; |
25 | |
26 | protected: |
27 | explicit QFrameGraphNode(QFrameGraphNodePrivate &dd, Qt3DCore::QNode *parent = nullptr); |
28 | |
29 | private Q_SLOTS: |
30 | void onParentChanged(QObject *); |
31 | |
32 | private: |
33 | Q_DECLARE_PRIVATE(QFrameGraphNode) |
34 | }; |
35 | |
36 | } // namespace Qt3DRender |
37 | |
38 | QT_END_NAMESPACE |
39 | |
40 | #endif // QT3DRENDER_QFRAMEGRAPHNODE_H |
41 | |