summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/macjp2/qmacjp2handler.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-01 14:45:19 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2016-12-05 11:57:15 +0000
commit33c311cce864f28ccd9205d51656424bd6d39404 (patch)
tree0f4262bb7d0a1e2a1bc605fea22bc44818c73aec /src/plugins/imageformats/macjp2/qmacjp2handler.h
parent65db62e4398c5ddfba1ea7825987b3f4ab04369e (diff)
Replace Q_DECL_OVERRIDE by override
The 'override' specifier can be used directly since Qt 5.7. Change-Id: I673d4a3028132318dc5e686100476a8758984f0d Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/plugins/imageformats/macjp2/qmacjp2handler.h')
-rw-r--r--src/plugins/imageformats/macjp2/qmacjp2handler.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/imageformats/macjp2/qmacjp2handler.h b/src/plugins/imageformats/macjp2/qmacjp2handler.h
index 3706d98..abe43cc 100644
--- a/src/plugins/imageformats/macjp2/qmacjp2handler.h
+++ b/src/plugins/imageformats/macjp2/qmacjp2handler.h
@@ -57,13 +57,13 @@ public:
QMacJp2Handler();
virtual ~QMacJp2Handler();
- bool canRead() const Q_DECL_OVERRIDE;
- bool read(QImage *image) Q_DECL_OVERRIDE;
- bool write(const QImage &image) Q_DECL_OVERRIDE;
- QVariant option(ImageOption option) const Q_DECL_OVERRIDE;
- void setOption(ImageOption option, const QVariant &value) Q_DECL_OVERRIDE;
- bool supportsOption(ImageOption option) const Q_DECL_OVERRIDE;
- QByteArray name() const Q_DECL_OVERRIDE;
+ bool canRead() const override;
+ bool read(QImage *image) override;
+ bool write(const QImage &image) override;
+ QVariant option(ImageOption option) const override;
+ void setOption(ImageOption option, const QVariant &value) override;
+ bool supportsOption(ImageOption option) const override;
+ QByteArray name() const override;
static bool canRead(QIODevice *iod);