aboutsummaryrefslogtreecommitdiff
path: root/src/core/kcoreconfigskeleton.h
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2015-02-25 08:51:58 +0100
committerMontel Laurent <montel@kde.org>2015-02-25 08:51:58 +0100
commit9fed4e3bbe5e72641d9793badb090290ce237fae (patch)
tree0386e1b8402b958db50c22ff4cd1736e70ff8498 /src/core/kcoreconfigskeleton.h
parent5a28172868cdc51607e0e87172d4d4fb6f01b896 (diff)
downloadkconfig-9fed4e3bbe5e72641d9793badb090290ce237fae.tar.gz
kconfig-9fed4e3bbe5e72641d9793badb090290ce237fae.tar.bz2
not necessary to have virtual + Q_DECL_OVERRIDE
Diffstat (limited to 'src/core/kcoreconfigskeleton.h')
-rw-r--r--src/core/kcoreconfigskeleton.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/kcoreconfigskeleton.h b/src/core/kcoreconfigskeleton.h
index eb8996c6..4727849b 100644
--- a/src/core/kcoreconfigskeleton.h
+++ b/src/core/kcoreconfigskeleton.h
@@ -262,13 +262,13 @@ public:
/**
Set the value for this item to the default value
*/
- virtual void setDefault() Q_DECL_OVERRIDE
+ void setDefault() Q_DECL_OVERRIDE
{
mReference = mDefault;
}
/** @copydoc KConfigSkeletonItem::writeConfig(KConfig *) */
- virtual void writeConfig(KConfig *config) Q_DECL_OVERRIDE
+ void writeConfig(KConfig *config) Q_DECL_OVERRIDE
{
if (mReference != mLoadedValue) { // Is this needed?
KConfigGroup cg(config, mGroup);
@@ -333,14 +333,14 @@ public:
NotifyFunction targetFunction, quint64 userData);
virtual ~KConfigCompilerSignallingItem();
- virtual void readConfig(KConfig *) Q_DECL_OVERRIDE;
- virtual void writeConfig(KConfig *) Q_DECL_OVERRIDE;
- virtual void readDefault(KConfig *) Q_DECL_OVERRIDE;
- virtual void setProperty(const QVariant &p) Q_DECL_OVERRIDE;
- virtual bool isEqual(const QVariant &p) const Q_DECL_OVERRIDE;
- virtual QVariant property() const Q_DECL_OVERRIDE;
- virtual void setDefault() Q_DECL_OVERRIDE;
- virtual void swapDefault() Q_DECL_OVERRIDE;
+ void readConfig(KConfig *) Q_DECL_OVERRIDE;
+ void writeConfig(KConfig *) Q_DECL_OVERRIDE;
+ void readDefault(KConfig *) Q_DECL_OVERRIDE;
+ void setProperty(const QVariant &p) Q_DECL_OVERRIDE;
+ bool isEqual(const QVariant &p) const Q_DECL_OVERRIDE;
+ QVariant property() const Q_DECL_OVERRIDE;
+ void setDefault() Q_DECL_OVERRIDE;
+ void swapDefault() Q_DECL_OVERRIDE;
private:
inline void invokeNotifyFunction()
{