summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3drender/items/quick3dstateset_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3drender/items/quick3dstateset_p.h')
-rw-r--r--src/quick3d/quick3drender/items/quick3dstateset_p.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/quick3d/quick3drender/items/quick3dstateset_p.h b/src/quick3d/quick3drender/items/quick3dstateset_p.h
index 4d060e149..f4bd13cd2 100644
--- a/src/quick3d/quick3drender/items/quick3dstateset_p.h
+++ b/src/quick3d/quick3drender/items/quick3dstateset_p.h
@@ -67,17 +67,11 @@ class Q_3DQUICKRENDERSHARED_PRIVATE_EXPORT Quick3DStateSet : public QObject
Q_OBJECT
Q_PROPERTY(QQmlListProperty<Qt3DRender::QRenderState> renderStates READ renderStateList CONSTANT)
public:
- explicit Quick3DStateSet(QObject *parent = 0);
+ explicit Quick3DStateSet(QObject *parent = nullptr);
~Quick3DStateSet();
QQmlListProperty<QRenderState> renderStateList();
inline QRenderStateSet *parentStateSet() const { return qobject_cast<QRenderStateSet *>(parent()); }
-
-private:
- static void appendRenderState(QQmlListProperty<QRenderState> *list, QRenderState *state);
- static QRenderState *renderStateAt(QQmlListProperty<QRenderState> *list, qsizetype index);
- static qsizetype renderStateCount(QQmlListProperty<QRenderState> *list);
- static void clearRenderStates(QQmlListProperty<QRenderState> *list);
};
} // namespace Quick