summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qmesh.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2014-09-29 17:19:36 +0200
committerSean Harmer <sean.harmer@kdab.com>2014-10-03 21:18:41 +0200
commit7b26f6a1746419161a8f875e341b3e31220f4141 (patch)
treef784e568015e1f7f199abb388b97fefdb158c84e /src/render/frontend/qmesh.h
parentc16689bb1ccf31416df7b8c69fe032898cf87dec (diff)
QNode refactoring
Move almost everything to private classes. Assimp loading restored. All examples working. QNode hierachy is now handled through QObject::setParent, addChild, removeChild are part of the private api. Note: commented QChangeArbiter unit tests as they can no longer work with this patch and will restore them when QChangeArbiter will have been made private. Task-number: QTBUG-41470 Task-number: QTBUG-41523 Change-Id: I4430974b3aa7f3744c38714b451b122e0cb4d0c9 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/frontend/qmesh.h')
-rw-r--r--src/render/frontend/qmesh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/frontend/qmesh.h b/src/render/frontend/qmesh.h
index 5544098fc..fe6044d01 100644
--- a/src/render/frontend/qmesh.h
+++ b/src/render/frontend/qmesh.h
@@ -66,8 +66,6 @@ class QT3DRENDERERSHARED_EXPORT QMesh : public QAbstractMesh
public:
explicit QMesh(QNode *parent = 0);
- void copy(const QNode *ref) Q_DECL_OVERRIDE;
-
void setSource(const QString &source);
QString source() const;
@@ -77,9 +75,11 @@ Q_SIGNALS:
void sourceChanged();
protected:
- Q_DECLARE_PRIVATE(QMesh)
QMesh(QMeshPrivate &dd, QNode *parent = 0);
- QMesh *doClone(bool isClone = true) const Q_DECL_OVERRIDE;
+
+private:
+ Q_DECLARE_PRIVATE(QMesh)
+ QMesh *doClone() const Q_DECL_OVERRIDE;
};
}