summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3d/items/quick3dentity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3d/items/quick3dentity.h')
-rw-r--r--src/quick3d/quick3d/items/quick3dentity.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/quick3d/quick3d/items/quick3dentity.h b/src/quick3d/quick3d/items/quick3dentity.h
index 1db358037..3a9adca06 100644
--- a/src/quick3d/quick3d/items/quick3dentity.h
+++ b/src/quick3d/quick3d/items/quick3dentity.h
@@ -44,7 +44,7 @@
QT_BEGIN_NAMESPACE
-namespace Qt3D {
+namespace Qt3DCore {
class QEntity;
class QComponent;
@@ -54,25 +54,24 @@ namespace Quick {
class QT3DQUICKSHARED_EXPORT Quick3DEntity : public QObject
{
Q_OBJECT
- Q_PROPERTY(QQmlListProperty<Qt3D::QComponent> components READ componentList)
+ Q_PROPERTY(QQmlListProperty<Qt3DCore::QComponent> components READ componentList)
public:
explicit Quick3DEntity(QObject *parent = 0);
- QQmlListProperty<Qt3D::QComponent> componentList();
+ QQmlListProperty<Qt3DCore::QComponent> componentList();
inline QEntity *parentEntity() const { return qobject_cast<QEntity*>(parent()); }
private:
- static void qmlAppendComponent(QQmlListProperty<Qt3D::QComponent> *list, Qt3D::QComponent *comp);
- static QComponent *qmlComponentAt(QQmlListProperty<Qt3D::QComponent> *list, int index);
- static int qmlComponentsCount(QQmlListProperty<Qt3D::QComponent> *list);
- static void qmlClearComponents(QQmlListProperty<Qt3D::QComponent> *list);
+ static void qmlAppendComponent(QQmlListProperty<Qt3DCore::QComponent> *list, Qt3DCore::QComponent *comp);
+ static QComponent *qmlComponentAt(QQmlListProperty<Qt3DCore::QComponent> *list, int index);
+ static int qmlComponentsCount(QQmlListProperty<Qt3DCore::QComponent> *list);
+ static void qmlClearComponents(QQmlListProperty<Qt3DCore::QComponent> *list);
};
-} // Quick
-
-} // Qt3D
+} // namespace Quick
+} // namespace Qt3DCore
QT_END_NAMESPACE