diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-08-31 15:14:17 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2015-10-13 07:15:15 +0000 |
commit | af40840eedf35404ba4b39e890c158e2328ff6ec (patch) | |
tree | ce4ac1f925c34b56704c99bd332e0436e68dbecc /examples/qt3d/deferred-renderer-cpp/pointlightblock.h | |
parent | 0269afd106da5d4d999585b3bdb1332a2c01af12 (diff) |
Move Render aspect into the Qt3DRender namespace
Updated examples and tests accordingly.
Change-Id: I8848a88472de2302aa072fa11f21ea934672b7e6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/deferred-renderer-cpp/pointlightblock.h')
-rw-r--r-- | examples/qt3d/deferred-renderer-cpp/pointlightblock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qt3d/deferred-renderer-cpp/pointlightblock.h b/examples/qt3d/deferred-renderer-cpp/pointlightblock.h index 8fb470504..6e8d3639f 100644 --- a/examples/qt3d/deferred-renderer-cpp/pointlightblock.h +++ b/examples/qt3d/deferred-renderer-cpp/pointlightblock.h @@ -39,7 +39,7 @@ #include <Qt3DRenderer/QShaderData> -class PointLightBlock : public Qt3D::QShaderData +class PointLightBlock : public Qt3DRender::QShaderData { Q_OBJECT Q_PROPERTY(QList<QShaderData *> lights READ lights NOTIFY lightsChanged) @@ -47,14 +47,14 @@ public: explicit PointLightBlock(Qt3D::QNode *parent = 0); ~PointLightBlock(); - QList<QShaderData *> lights() const; - void addLight(QShaderData *light); + QList<Qt3DRender::QShaderData *> lights() const; + void addLight(Qt3DRender::QShaderData *light); Q_SIGNALS: void lightsChanged(); private: - QList<Qt3D::QShaderData *> m_lights; + QList<Qt3DRender::QShaderData *> m_lights; }; #endif // POINTLIGHTBLOCK_H |