diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-10-12 20:45:19 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-10-13 13:19:50 +0000 |
commit | 7c971e0e7791ab38d7d3d8ebc25468c44cbe49c5 (patch) | |
tree | 53197a9e5eb7501d6f5b497f70c25dad9c265a6f /examples/qt3d/materials-cpp/trefoilknot.h | |
parent | 0bfd20ad3b8eb3edec8d6317af9eb5504f8c0871 (diff) |
Move Qt3DCore into Qt3DCore namespace
Update other aspects, tests and examples accordingly.
Change-Id: Ib1bcf0bdf4f5aec4422dc0c80bfc32b27fb1a317
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/materials-cpp/trefoilknot.h')
-rw-r--r-- | examples/qt3d/materials-cpp/trefoilknot.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/qt3d/materials-cpp/trefoilknot.h b/examples/qt3d/materials-cpp/trefoilknot.h index 6beda9cd1..bac6e59b0 100644 --- a/examples/qt3d/materials-cpp/trefoilknot.h +++ b/examples/qt3d/materials-cpp/trefoilknot.h @@ -44,24 +44,24 @@ #include <Qt3DCore/QTranslateTransform> #include <Qt3DRenderer/QMesh> -class TrefoilKnot : public Qt3D::QEntity +class TrefoilKnot : public Qt3DCore::QEntity { public: - explicit TrefoilKnot(Qt3D::QNode *parent = 0); + explicit TrefoilKnot(Qt3DCore::QNode *parent = 0); ~TrefoilKnot(); - Qt3D::QScaleTransform *scaleTransform() const; - Qt3D::QRotateTransform *xaxisRotateTransform() const; - Qt3D::QRotateTransform *yaxisRotateTransform() const; - Qt3D::QTranslateTransform *translateTransform() const; + Qt3DCore::QScaleTransform *scaleTransform() const; + Qt3DCore::QRotateTransform *xaxisRotateTransform() const; + Qt3DCore::QRotateTransform *yaxisRotateTransform() const; + Qt3DCore::QTranslateTransform *translateTransform() const; private: Qt3DRender::QMesh *m_mesh; - Qt3D::QTransform *m_transform; - Qt3D::QScaleTransform *m_scaleTransform; - Qt3D::QRotateTransform *m_xaxisRotation; - Qt3D::QRotateTransform *m_yaxisRotation; - Qt3D::QTranslateTransform *m_translateTransform; + Qt3DCore::QTransform *m_transform; + Qt3DCore::QScaleTransform *m_scaleTransform; + Qt3DCore::QRotateTransform *m_xaxisRotation; + Qt3DCore::QRotateTransform *m_yaxisRotation; + Qt3DCore::QTranslateTransform *m_translateTransform; }; #endif // TREFOILKNOT_H |