Use override

This commit is contained in:
Shubham Jangra 2018-12-03 18:26:56 +05:30
parent 05c9b1adc2
commit 2a1a0e4280
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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