// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB) // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef QSGNODE_P_H #define QSGNODE_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #include #include "qsgnode.h" QT_BEGIN_NAMESPACE class QSGNodePrivate { public: QSGNodePrivate() {} virtual ~QSGNodePrivate() {} #ifdef QSG_RUNTIME_DESCRIPTION static void setDescription(QSGNode *node, const QString &description) { node->d_ptr->descr= description; } static QString description(const QSGNode *node) { return node->d_ptr->descr; } QString descr; #endif }; class QSGBasicGeometryNodePrivate : public QSGNodePrivate { public: QSGBasicGeometryNodePrivate() {} }; class QSGGeometryNodePrivate: public QSGBasicGeometryNodePrivate { public: QSGGeometryNodePrivate() {} }; QT_END_NAMESPACE #endif // QSGNODE_P_H