aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfig.h
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2018-05-04 13:59:17 +0200
committerLaurent Montel <montel@kde.org>2018-05-04 13:59:17 +0200
commit3985f2a051914af249f219b79a8e062016f299cc (patch)
tree04954db63a1570e54c0cbc13737a7f09e9e21e94 /src/core/kconfig.h
parentfb08c56d2710fa7e3e998dde25eb30626e2a9d97 (diff)
downloadkconfig-3985f2a051914af249f219b79a8e062016f299cc.tar.gz
kconfig-3985f2a051914af249f219b79a8e062016f299cc.tar.bz2
Use override
Diffstat (limited to 'src/core/kconfig.h')
-rw-r--r--src/core/kconfig.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/core/kconfig.h b/src/core/kconfig.h
index 9601a1e9..c6be56d6 100644
--- a/src/core/kconfig.h
+++ b/src/core/kconfig.h
@@ -165,18 +165,18 @@ public:
OpenFlags openFlags() const;
/// @reimp
- bool sync() Q_DECL_OVERRIDE;
+ bool sync() override;
/// Returns true if sync has any changes to write out.
/// @since 4.12
bool isDirty() const;
/// @reimp
- void markAsClean() Q_DECL_OVERRIDE;
+ void markAsClean() override;
/// @{ configuration object state
/// @reimp
- AccessMode accessMode() const Q_DECL_OVERRIDE;
+ AccessMode accessMode() const override;
/**
* Whether the configuration can be written to.
@@ -312,7 +312,7 @@ public:
/// @{ immutability
/// @reimp
- bool isImmutable() const Q_DECL_OVERRIDE;
+ bool isImmutable() const override;
/// @}
/// @{ global
@@ -343,7 +343,7 @@ public:
/// @}
/// @reimp
- QStringList groupList() const Q_DECL_OVERRIDE;
+ QStringList groupList() const override;
/**
* Returns a map (tree) of entries in a particular group.
@@ -365,11 +365,11 @@ public:
static void setMainConfigName(const QString &str);
protected:
- bool hasGroupImpl(const QByteArray &group) const Q_DECL_OVERRIDE;
- KConfigGroup groupImpl(const QByteArray &b) Q_DECL_OVERRIDE;
- const KConfigGroup groupImpl(const QByteArray &b) const Q_DECL_OVERRIDE;
- void deleteGroupImpl(const QByteArray &group, WriteConfigFlags flags = Normal) Q_DECL_OVERRIDE;
- bool isGroupImmutableImpl(const QByteArray &aGroup) const Q_DECL_OVERRIDE;
+ bool hasGroupImpl(const QByteArray &group) const override;
+ KConfigGroup groupImpl(const QByteArray &b) override;
+ const KConfigGroup groupImpl(const QByteArray &b) const override;
+ void deleteGroupImpl(const QByteArray &group, WriteConfigFlags flags = Normal) override;
+ bool isGroupImmutableImpl(const QByteArray &aGroup) const override;
friend class KConfigGroup;
friend class KConfigGroupPrivate;
@@ -378,7 +378,7 @@ protected:
/** Virtual hook, used to add new "virtual" functions while maintaining
* binary compatibility. Unused in this class.
*/
- void virtual_hook(int id, void *data) Q_DECL_OVERRIDE;
+ void virtual_hook(int id, void *data) override;
KConfigPrivate *const d_ptr;