summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3drender/items/quick3dmaterial_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3drender/items/quick3dmaterial_p.h')
-rw-r--r--src/quick3d/quick3drender/items/quick3dmaterial_p.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/quick3d/quick3drender/items/quick3dmaterial_p.h b/src/quick3d/quick3drender/items/quick3dmaterial_p.h
index adb0d066b..a8d07ac32 100644
--- a/src/quick3d/quick3drender/items/quick3dmaterial_p.h
+++ b/src/quick3d/quick3drender/items/quick3dmaterial_p.h
@@ -72,20 +72,12 @@ class Q_3DQUICKRENDERSHARED_PRIVATE_EXPORT Quick3DMaterial : public QObject
Q_PROPERTY(QQmlListProperty<Qt3DRender::QParameter> parameters READ qmlParameters)
public:
- explicit Quick3DMaterial(QObject *parent = 0);
+ explicit Quick3DMaterial(QObject *parent = nullptr);
// TO DO : replace by QAbstractMaterial later on
inline QMaterial *parentMaterial() const { return qobject_cast<QMaterial*>(parent()); }
QQmlListProperty<QParameter> qmlParameters();
-
-
-private:
- // FIXME - remove when we have a custom QML parser
- static void appendParameter(QQmlListProperty<QParameter> *list, QParameter *bar);
- static QParameter *parameterAt(QQmlListProperty<QParameter> *list, qsizetype index);
- static qsizetype parameterCount(QQmlListProperty<QParameter> *list);
- static void clearParameters(QQmlListProperty<QParameter> *list);
};
} // namespace Quick