summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qstencilop.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-08-31 15:14:17 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-10-13 07:15:15 +0000
commitaf40840eedf35404ba4b39e890c158e2328ff6ec (patch)
treece4ac1f925c34b56704c99bd332e0436e68dbecc /src/render/frontend/qstencilop.h
parent0269afd106da5d4d999585b3bdb1332a2c01af12 (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 'src/render/frontend/qstencilop.h')
-rw-r--r--src/render/frontend/qstencilop.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/render/frontend/qstencilop.h b/src/render/frontend/qstencilop.h
index 83baebaed..bc212af48 100644
--- a/src/render/frontend/qstencilop.h
+++ b/src/render/frontend/qstencilop.h
@@ -34,14 +34,14 @@
**
****************************************************************************/
-#ifndef QT3D_QSTENCILOP_H
-#define QT3D_QSTENCILOP_H
+#ifndef QT3DRENDER_QSTENCILOP_H
+#define QT3DRENDER_QSTENCILOP_H
#include <Qt3DRenderer/qrenderstate.h>
QT_BEGIN_NAMESPACE
-namespace Qt3D {
+namespace Qt3DRender {
class QStencilOpPrivate;
class QStencilOpSeparate;
@@ -49,26 +49,26 @@ class QStencilOpSeparate;
class QT3DRENDERERSHARED_EXPORT QStencilOp : public QRenderState
{
Q_OBJECT
- Q_PROPERTY(Qt3D::QStencilOpSeparate *front READ front CONSTANT)
- Q_PROPERTY(Qt3D::QStencilOpSeparate *back READ back CONSTANT)
+ Q_PROPERTY(Qt3DRender::QStencilOpSeparate *front READ front CONSTANT)
+ Q_PROPERTY(Qt3DRender::QStencilOpSeparate *back READ back CONSTANT)
public:
- explicit QStencilOp(QNode *parent = 0);
+ explicit QStencilOp(Qt3D::QNode *parent = 0);
~QStencilOp();
QStencilOpSeparate *front() const;
QStencilOpSeparate *back() const;
protected:
- void copy(const QNode *ref) Q_DECL_FINAL;
+ void copy(const Qt3D::QNode *ref) Q_DECL_FINAL;
private:
Q_DECLARE_PRIVATE(QStencilOp)
QT3D_CLONEABLE(QStencilOp)
};
-} // Qt3D
+} // namespace Qt3DRender
QT_END_NAMESPACE
-#endif // QT3D_QSTENCILOP_H
+#endif // QT3DRENDER_QSTENCILOP_H