summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-11 16:07:55 +0100
committerLaurent Montel <[email protected]>2018-02-11 16:07:55 +0100
commit61380dda07e33727810b6b2f122cdc1acac6447e (patch)
treef76ac1e200153bc0ad31c2c650d92fb5d98fd75c
parent89215d7977892381c12b2a3301cf423eb9c90976 (diff)
Use override keyword
-rw-r--r--src/core.h2
-rw-r--r--src/plugin.h2
-rw-r--r--src/summary.h2
-rw-r--r--src/uniqueapphandler.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/core.h b/src/core.h
index cd53dff..45c2840 100644
--- a/src/core.h
+++ b/src/core.h
@@ -46,7 +46,7 @@ public:
/**
* Destroys the core object.
*/
- virtual ~Core();
+ ~Core() override;
/**
* Selects the given plugin and raises the associated part.
diff --git a/src/plugin.h b/src/plugin.h
index f6c2e06..3abf7d1 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -94,7 +94,7 @@ public:
/**
* Destroys the plugin.
*/
- virtual ~Plugin();
+ ~Plugin() override;
/**
* Sets the @p identifier of the plugin.
diff --git a/src/summary.h b/src/summary.h
index 6ed20ad..a8817c2 100644
--- a/src/summary.h
+++ b/src/summary.h
@@ -53,7 +53,7 @@ public:
/**
* Destroys the summary widget.
*/
- virtual ~Summary();
+ ~Summary() override;
/**
* Returns the logical height of summary widget.
diff --git a/src/uniqueapphandler.h b/src/uniqueapphandler.h
index b9800e6..d8ba9fd 100644
--- a/src/uniqueapphandler.h
+++ b/src/uniqueapphandler.h
@@ -45,7 +45,7 @@ class KONTACTINTERFACE_EXPORT UniqueAppHandler : public QObject
public:
UniqueAppHandler(Plugin *plugin);
- virtual ~UniqueAppHandler();
+ ~UniqueAppHandler() override;
/// This must be reimplemented so that app-specific command line options can be parsed
virtual void loadCommandLineOptions(QCommandLineParser *parser) = 0;
@@ -122,7 +122,7 @@ public:
*/
UniqueAppWatcher(UniqueAppHandlerFactoryBase *factory, Plugin *plugin);
- virtual ~UniqueAppWatcher();
+ ~UniqueAppWatcher() override;
bool isRunningStandalone() const;