diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-01-19 15:58:32 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-01-21 12:51:35 +0000 |
commit | ba09df11ecb7b42dd1c2e9b85d5ebd9edf90984d (patch) | |
tree | dde783715139f194ab6f30c01a93b524fc255286 /src/libs/installer/libarchivewrapper.h | |
parent | 6233bf7d5645f9b8b4dcd99b1d3691ed15f9829c (diff) |
Make 'override' specifier usage consistent
Add where missing. Replace occurrences of Q_DECL_OVERRIDE macro,
building IFW requires a C++11 compatible compiler so the language
specifier is preferred.
Change-Id: Idb75e2813d26b9da85e03891f0ae9537c6524c56
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer/libarchivewrapper.h')
-rw-r--r-- | src/libs/installer/libarchivewrapper.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libs/installer/libarchivewrapper.h b/src/libs/installer/libarchivewrapper.h index f5262f9a7..062d53f4a 100644 --- a/src/libs/installer/libarchivewrapper.h +++ b/src/libs/installer/libarchivewrapper.h @@ -46,22 +46,22 @@ public: explicit LibArchiveWrapper(QObject *parent = nullptr); ~LibArchiveWrapper(); - bool open(QIODevice::OpenMode mode) Q_DECL_OVERRIDE; - void close() Q_DECL_OVERRIDE; - void setFilename(const QString &filename) Q_DECL_OVERRIDE; + bool open(QIODevice::OpenMode mode) override; + void close() override; + void setFilename(const QString &filename) override; - QString errorString() const Q_DECL_OVERRIDE; + QString errorString() const override; - bool extract(const QString &dirPath) Q_DECL_OVERRIDE; - bool extract(const QString &dirPath, const quint64 totalFiles) Q_DECL_OVERRIDE; - bool create(const QStringList &data) Q_DECL_OVERRIDE; - QVector<ArchiveEntry> list() Q_DECL_OVERRIDE; - bool isSupported() Q_DECL_OVERRIDE; + bool extract(const QString &dirPath) override; + bool extract(const QString &dirPath, const quint64 totalFiles) override; + bool create(const QStringList &data) override; + QVector<ArchiveEntry> list() override; + bool isSupported() override; - void setCompressionLevel(const AbstractArchive::CompressionLevel level) Q_DECL_OVERRIDE; + void setCompressionLevel(const AbstractArchive::CompressionLevel level) override; public Q_SLOTS: - void cancel() Q_DECL_OVERRIDE; + void cancel() override; private: LibArchiveWrapperPrivate *const d; |