summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-12 06:58:34 +0100
committerLaurent Montel <[email protected]>2018-02-12 06:58:45 +0100
commitb1a1cdd26bc08aecd5ef07f01cfc8a6e70dbde5e (patch)
tree45f1d1f1460b1ee71b1d09d4ab7a54e20300d774
parent5730c2ee7059bb63d5b712fc49bd551cff8eeebc (diff)
Use override keyword
-rw-r--r--src/kgoldrunner.h2
-rw-r--r--src/kgrrenderer.h2
-rw-r--r--src/kgrrulebook.h2
-rw-r--r--src/kgrrunner.h2
-rw-r--r--src/kgrthemetypes.h4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/kgoldrunner.h b/src/kgoldrunner.h
index 6f076e7..d99d931 100644
--- a/src/kgoldrunner.h
+++ b/src/kgoldrunner.h
@@ -51,7 +51,7 @@ public:
/**
* Default Destructor
*/
- virtual ~KGoldrunner();
+ ~KGoldrunner() override;
/**
* Used to indicate if the class initialised properly.
diff --git a/src/kgrrenderer.h b/src/kgrrenderer.h
index 380d511..858fd3a 100644
--- a/src/kgrrenderer.h
+++ b/src/kgrrenderer.h
@@ -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.).
diff --git a/src/kgrrulebook.h b/src/kgrrulebook.h
index eb3efb8..f4b10f5 100644
--- a/src/kgrrulebook.h
+++ b/src/kgrrulebook.h
@@ -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; }
diff --git a/src/kgrrunner.h b/src/kgrrunner.h
index 3a1b0cb..302cde1 100644
--- a/src/kgrrunner.h
+++ b/src/kgrrunner.h
@@ -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
diff --git a/src/kgrthemetypes.h b/src/kgrthemetypes.h
index 731d89b..a8215db 100644
--- a/src/kgrthemetypes.h
+++ b/src/kgrthemetypes.h
@@ -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".