summaryrefslogtreecommitdiffstats
path: root/src/render/lights
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-09-21 17:14:38 +0200
committerSean Harmer <sean.harmer@kdab.com>2017-09-25 10:42:44 +0000
commit93f5ac54f56b8c340731fd88e1b88525fca7793c (patch)
tree61f28cbaa19c0ca7aa07bcee0f7f0fd71eb06fb5 /src/render/lights
parent43542ef59ac9324106a0690da3b808b23d5ab3a9 (diff)
Replace Q_DECL_FINAL with final
Change-Id: Ia80d1cb9cc96d76f8b367caa725c59a70ae0a4d5 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/lights')
-rw-r--r--src/render/lights/environmentlight_p.h2
-rw-r--r--src/render/lights/light_p.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/render/lights/environmentlight_p.h b/src/render/lights/environmentlight_p.h
index 2ebe72b12..00d49d298 100644
--- a/src/render/lights/environmentlight_p.h
+++ b/src/render/lights/environmentlight_p.h
@@ -65,7 +65,7 @@ public:
Qt3DCore::QNodeId shaderData() const;
private:
- void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL;
+ void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final;
Qt3DCore::QNodeId m_shaderDataId;
};
diff --git a/src/render/lights/light_p.h b/src/render/lights/light_p.h
index e1f552b2e..8ecc87585 100644
--- a/src/render/lights/light_p.h
+++ b/src/render/lights/light_p.h
@@ -67,7 +67,7 @@ public:
Qt3DCore::QNodeId shaderData() const;
private:
- void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL;
+ void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final;
Qt3DCore::QNodeId m_shaderDataId;
};
@@ -78,8 +78,8 @@ public:
explicit RenderLightFunctor(AbstractRenderer *renderer, NodeManagers *managers);
Qt3DCore::QBackendNode *create(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const override;
- Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const Q_DECL_FINAL;
- void destroy(Qt3DCore::QNodeId id) const Q_DECL_FINAL;
+ Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const final;
+ void destroy(Qt3DCore::QNodeId id) const final;
private:
NodeManagers *m_managers;