summaryrefslogtreecommitdiffstats
path: root/src/render/texture
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/texture
parent43542ef59ac9324106a0690da3b808b23d5ab3a9 (diff)
Replace Q_DECL_FINAL with final
Change-Id: Ia80d1cb9cc96d76f8b367caa725c59a70ae0a4d5 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/texture')
-rw-r--r--src/render/texture/qpaintedtextureimage_p.h4
-rw-r--r--src/render/texture/qtextureimage_p.h4
-rw-r--r--src/render/texture/texture_p.h8
-rw-r--r--src/render/texture/textureimage_p.h8
4 files changed, 12 insertions, 12 deletions
diff --git a/src/render/texture/qpaintedtextureimage_p.h b/src/render/texture/qpaintedtextureimage_p.h
index 9db2f4d9c..93705d96e 100644
--- a/src/render/texture/qpaintedtextureimage_p.h
+++ b/src/render/texture/qpaintedtextureimage_p.h
@@ -89,8 +89,8 @@ public:
~QPaintedTextureImageDataGenerator();
// Will be executed from within a QAspectJob
- QTextureImageDataPtr operator ()() Q_DECL_FINAL;
- bool operator ==(const QTextureImageDataGenerator &other) const Q_DECL_FINAL;
+ QTextureImageDataPtr operator ()() final;
+ bool operator ==(const QTextureImageDataGenerator &other) const final;
QT3D_FUNCTOR(QPaintedTextureImageDataGenerator)
diff --git a/src/render/texture/qtextureimage_p.h b/src/render/texture/qtextureimage_p.h
index 8db8f50f0..5a4ea8f5a 100644
--- a/src/render/texture/qtextureimage_p.h
+++ b/src/render/texture/qtextureimage_p.h
@@ -85,8 +85,8 @@ class Q_AUTOTEST_EXPORT QImageTextureDataFunctor : public QTextureImageDataGener
public:
explicit QImageTextureDataFunctor(const QUrl &url, bool mirrored);
// Will be executed from within a QAspectJob
- QTextureImageDataPtr operator ()() Q_DECL_FINAL;
- bool operator ==(const QTextureImageDataGenerator &other) const Q_DECL_FINAL;
+ QTextureImageDataPtr operator ()() final;
+ bool operator ==(const QTextureImageDataGenerator &other) const final;
inline QTextureImage::Status status() const { return m_status; }
QT3D_FUNCTOR(QImageTextureDataFunctor)
diff --git a/src/render/texture/texture_p.h b/src/render/texture/texture_p.h
index ec7717d6d..2c71eb10a 100644
--- a/src/render/texture/texture_p.h
+++ b/src/render/texture/texture_p.h
@@ -162,7 +162,7 @@ public:
bool isValid() const;
private:
- void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL;
+ void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final;
DirtyFlags m_dirty;
TextureProperties m_properties;
@@ -181,9 +181,9 @@ public:
explicit TextureFunctor(AbstractRenderer *renderer,
TextureManager *textureNodeManager,
TextureImageManager *textureImageManager);
- Qt3DCore::QBackendNode *create(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const Q_DECL_FINAL;
- Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const Q_DECL_FINAL;
- void destroy(Qt3DCore::QNodeId id) const Q_DECL_FINAL;
+ Qt3DCore::QBackendNode *create(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const final;
+ Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const final;
+ void destroy(Qt3DCore::QNodeId id) const final;
private:
AbstractRenderer *m_renderer;
diff --git a/src/render/texture/textureimage_p.h b/src/render/texture/textureimage_p.h
index 19cc95a61..e898b2f1a 100644
--- a/src/render/texture/textureimage_p.h
+++ b/src/render/texture/textureimage_p.h
@@ -88,7 +88,7 @@ public:
inline QTextureImageDataGeneratorPtr dataGenerator() const { return m_generator; }
private:
- void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL;
+ void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final;
int m_layer;
int m_mipLevel;
@@ -106,9 +106,9 @@ public:
TextureManager *textureManager,
TextureImageManager *textureImageManager);
- Qt3DCore::QBackendNode *create(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const Q_DECL_FINAL;
- Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const Q_DECL_FINAL;
- void destroy(Qt3DCore::QNodeId id) const Q_DECL_FINAL;
+ Qt3DCore::QBackendNode *create(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const final;
+ Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const final;
+ void destroy(Qt3DCore::QNodeId id) const final;
private:
AbstractRenderer *m_renderer;