aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgcurveabstractnode_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/qsgcurveabstractnode_p.h')
-rw-r--r--src/quick/scenegraph/qsgcurveabstractnode_p.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcurveabstractnode_p.h b/src/quick/scenegraph/qsgcurveabstractnode_p.h
new file mode 100644
index 0000000000..aadc17d3f0
--- /dev/null
+++ b/src/quick/scenegraph/qsgcurveabstractnode_p.h
@@ -0,0 +1,32 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#ifndef QSGCURVEABSTRACTNODE_P_H
+#define QSGCURVEABSTRACTNODE_P_H
+
+#include <QtGui/qcolor.h>
+#include <QtQuick/qsgnode.h>
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists for the convenience
+// of a number of Qt sources files. This header file may change from
+// version to version without notice, or even be removed.
+//
+// We mean it.
+//
+
+QT_BEGIN_NAMESPACE
+
+class QSGCurveAbstractNode : public QSGGeometryNode
+{
+public:
+ virtual void setColor(QColor col) = 0;
+ virtual void cookGeometry() = 0;
+};
+
+QT_END_NAMESPACE
+
+#endif // QSGCURVEABSTRACTNODE_P_H