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