diff options
author | Kevin Funk <kfunk@kde.org> | 2015-02-12 00:17:57 +0100 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2015-02-12 13:54:33 +0100 |
commit | 28ddbf8138c865e19e8836b49af74f9d3bc20401 (patch) | |
tree | f4c0540132f4e79ff684915a33aa4c12666da2f4 /src/core/kconfigini_p.h | |
parent | 11585e2fccf742798ab3396726f87323b54b3ac9 (diff) | |
download | kconfig-28ddbf8138c865e19e8836b49af74f9d3bc20401.tar.gz kconfig-28ddbf8138c865e19e8836b49af74f9d3bc20401.tar.bz2 |
Use Q_DECL_OVERRIDE where possible
With -Winconsistent-missing-override (Clang), headers from KConfig are
throwing a lot of warnings.
REVIEW: 122539
Diffstat (limited to 'src/core/kconfigini_p.h')
-rw-r--r-- | src/core/kconfigini_p.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/kconfigini_p.h b/src/core/kconfigini_p.h index 29f61090..47aa6fea 100644 --- a/src/core/kconfigini_p.h +++ b/src/core/kconfigini_p.h @@ -43,22 +43,22 @@ public: ParseInfo parseConfig(const QByteArray &locale, KEntryMap &entryMap, - ParseOptions options); + ParseOptions options) Q_DECL_OVERRIDE; ParseInfo parseConfig(const QByteArray &locale, KEntryMap &entryMap, ParseOptions options, bool merging); bool writeConfig(const QByteArray &locale, KEntryMap &entryMap, - WriteOptions options); + WriteOptions options) Q_DECL_OVERRIDE; - bool isWritable() const; - QString nonWritableErrorMessage() const; - KConfigBase::AccessMode accessMode() const; - void createEnclosing(); - void setFilePath(const QString &path); - bool lock(); - void unlock(); - bool isLocked() const; + bool isWritable() const Q_DECL_OVERRIDE; + QString nonWritableErrorMessage() const Q_DECL_OVERRIDE; + KConfigBase::AccessMode accessMode() const Q_DECL_OVERRIDE; + void createEnclosing() Q_DECL_OVERRIDE; + void setFilePath(const QString &path) Q_DECL_OVERRIDE; + bool lock() Q_DECL_OVERRIDE; + void unlock() Q_DECL_OVERRIDE; + bool isLocked() const Q_DECL_OVERRIDE; protected: |