From 2a1a0e42808aeeed4621d77bddc609c8b4295f6c Mon Sep 17 00:00:00 2001 From: Shubham Jangra Date: Mon, 3 Dec 2018 18:26:56 +0530 Subject: [PATCH] Use override --- packageplugins/aurorae/aurorae.h | 4 ++-- packageplugins/decoration/decoration.h | 4 ++-- packageplugins/scripts/scripts.h | 4 ++-- packageplugins/windowswitcher/windowswitcher.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packageplugins/aurorae/aurorae.h b/packageplugins/aurorae/aurorae.h index c3005aac88..58ed704f55 100644 --- a/packageplugins/aurorae/aurorae.h +++ b/packageplugins/aurorae/aurorae.h @@ -26,8 +26,8 @@ class AuroraePackage : public KPackage::PackageStructure { public: AuroraePackage(QObject*, const QVariantList &) {} - void initPackage(KPackage::Package *package) Q_DECL_OVERRIDE; - void pathChanged(KPackage::Package *package) Q_DECL_OVERRIDE; + void initPackage(KPackage::Package *package) override; + void pathChanged(KPackage::Package *package) override; }; #endif diff --git a/packageplugins/decoration/decoration.h b/packageplugins/decoration/decoration.h index cf3897efa0..5196b2109b 100644 --- a/packageplugins/decoration/decoration.h +++ b/packageplugins/decoration/decoration.h @@ -26,8 +26,8 @@ class DecorationPackage : public KPackage::PackageStructure { public: DecorationPackage(QObject*, const QVariantList &) {} - void initPackage(KPackage::Package *package) Q_DECL_OVERRIDE; - void pathChanged(KPackage::Package *package) Q_DECL_OVERRIDE; + void initPackage(KPackage::Package *package) override; + void pathChanged(KPackage::Package *package) override; }; #endif diff --git a/packageplugins/scripts/scripts.h b/packageplugins/scripts/scripts.h index b5b7035240..fc9cb0389f 100644 --- a/packageplugins/scripts/scripts.h +++ b/packageplugins/scripts/scripts.h @@ -26,8 +26,8 @@ class ScriptsPackage : public KPackage::PackageStructure { public: ScriptsPackage(QObject*, const QVariantList &) {} - void initPackage(KPackage::Package *package) Q_DECL_OVERRIDE; - void pathChanged(KPackage::Package *package) Q_DECL_OVERRIDE; + void initPackage(KPackage::Package *package) override; + void pathChanged(KPackage::Package *package) override; }; #endif diff --git a/packageplugins/windowswitcher/windowswitcher.h b/packageplugins/windowswitcher/windowswitcher.h index 141fcaf4d9..863647f821 100644 --- a/packageplugins/windowswitcher/windowswitcher.h +++ b/packageplugins/windowswitcher/windowswitcher.h @@ -26,8 +26,8 @@ class SwitcherPackage : public KPackage::PackageStructure { public: SwitcherPackage(QObject*, const QVariantList &) {} - void initPackage(KPackage::Package *package) Q_DECL_OVERRIDE; - void pathChanged(KPackage::Package *package) Q_DECL_OVERRIDE; + void initPackage(KPackage::Package *package) override; + void pathChanged(KPackage::Package *package) override; }; #endif