summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3d/items/quick3dentity_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3d/items/quick3dentity_p.h')
-rw-r--r--src/quick3d/quick3d/items/quick3dentity_p.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/quick3d/quick3d/items/quick3dentity_p.h b/src/quick3d/quick3d/items/quick3dentity_p.h
index ee62ecf59..6c34236e9 100644
--- a/src/quick3d/quick3d/items/quick3dentity_p.h
+++ b/src/quick3d/quick3d/items/quick3dentity_p.h
@@ -72,18 +72,12 @@ class Q_3DQUICKSHARED_PRIVATE_EXPORT Quick3DEntity : public QObject
Q_PROPERTY(QQmlListProperty<Qt3DCore::QComponent> components READ componentList)
public:
- explicit Quick3DEntity(QObject *parent = 0);
+ explicit Quick3DEntity(QObject *parent = nullptr);
QQmlListProperty<Qt3DCore::QComponent> componentList();
inline QEntity *parentEntity() const { return qobject_cast<QEntity*>(parent()); }
private:
-
- static void qmlAppendComponent(QQmlListProperty<Qt3DCore::QComponent> *list, Qt3DCore::QComponent *comp);
- static QComponent *qmlComponentAt(QQmlListProperty<Qt3DCore::QComponent> *list, qsizetype index);
- static qsizetype qmlComponentsCount(QQmlListProperty<Qt3DCore::QComponent> *list);
- static void qmlClearComponents(QQmlListProperty<Qt3DCore::QComponent> *list);
-
QList<Qt3DCore::QComponent *> m_managedComponents;
};