Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b1a1cdd2 authored by Laurent Montel's avatar Laurent Montel 😁

Use override keyword

parent 5730c2ee
......@@ -51,7 +51,7 @@ public:
/**
* Default Destructor
*/
virtual ~KGoldrunner();
~KGoldrunner() override;
/**
* Used to indicate if the class initialised properly.
......
......@@ -63,7 +63,7 @@ class KGrRenderer : public QObject
Q_OBJECT
public:
KGrRenderer (KGrScene * scene);
virtual ~KGrRenderer();
~KGrRenderer() override;
/*
* Get a pointer to the KGameRenderer for "Set" graphics (bricks, etc.).
......
......@@ -32,7 +32,7 @@ class KGrRuleBook : public QObject
Q_OBJECT
public:
KGrRuleBook (QObject * parent);
virtual ~KGrRuleBook();
~KGrRuleBook() override;
bool variableTiming() const { return mVariableTiming; }
bool alwaysCollectNugget() const { return mAlwaysCollectNugget; }
......
......@@ -54,7 +54,7 @@ public:
KGrRunner (KGrLevelPlayer * pLevelPlayer, KGrLevelGrid * pGrid,
int i, int j, const int pSpriteId,
KGrRuleBook * pRules, const int startDelay);
virtual ~KGrRunner();
~KGrRunner() override;
/**
* Returns the exact position of a runner (in grid-points or cell
......
......@@ -28,7 +28,7 @@ class KGrActorsTheme : public KgTheme
Q_OBJECT
public:
Q_INVOKABLE KGrActorsTheme(const QByteArray &identifier, QObject *parent=0);
virtual ~KGrActorsTheme();
~KGrActorsTheme() override;
/*
* Re-defined from KgTheme. Finds a SVG file with config name "Actors".
......@@ -47,7 +47,7 @@ class KGrSetTheme : public KgTheme
Q_OBJECT
public:
Q_INVOKABLE KGrSetTheme(const QByteArray &identifier, QObject *parent=0);
virtual ~KGrSetTheme();
~KGrSetTheme() override;
/*
* Re-defined from KgTheme. Finds a SVG file with config name "Set".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment