diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2014-09-29 17:19:36 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-10-03 21:18:41 +0200 |
commit | 7b26f6a1746419161a8f875e341b3e31220f4141 (patch) | |
tree | f784e568015e1f7f199abb388b97fefdb158c84e /src/core/core-components/qcameralens.h | |
parent | c16689bb1ccf31416df7b8c69fe032898cf87dec (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/core/core-components/qcameralens.h')
-rw-r--r-- | src/core/core-components/qcameralens.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/core-components/qcameralens.h b/src/core/core-components/qcameralens.h index 25399c49f..f6a5e4f4c 100644 --- a/src/core/core-components/qcameralens.h +++ b/src/core/core-components/qcameralens.h @@ -74,8 +74,6 @@ class QT3DCORESHARED_EXPORT QCameraLens : public QComponent public: explicit QCameraLens(QNode *parent = 0); - void copy(const QNode *ref) Q_DECL_OVERRIDE; - enum ProjectionType { OrthogonalProjection, PerspectiveProjection @@ -131,9 +129,11 @@ Q_SIGNALS: void projectionMatrixChanged(); protected: - Q_DECLARE_PRIVATE(QCameraLens) QCameraLens(QCameraLensPrivate &dd, QNode *parent = 0); - QCameraLens *doClone(bool isClone = true) const Q_DECL_OVERRIDE; + +private: + Q_DECLARE_PRIVATE(QCameraLens) + QCameraLens *doClone() const Q_DECL_OVERRIDE; }; } // Qt3D |