diff --git a/samples/cliclient/reader.h b/samples/cliclient/reader.h index ab5dc772c..129453b4f 100644 --- a/samples/cliclient/reader.h +++ b/samples/cliclient/reader.h @@ -36,7 +36,7 @@ namespace BlackSample protected: //! Run reader in background - void run(); + virtual void run() override; signals: //! User command diff --git a/samples/weatherdata/reader.h b/samples/weatherdata/reader.h index afa38657d..c5b8956ed 100644 --- a/samples/weatherdata/reader.h +++ b/samples/weatherdata/reader.h @@ -31,7 +31,7 @@ public: protected: //! \copydoc QThread::run - void run(); + virtual void run() override; signals: //! User is asking for weather data diff --git a/src/blackcore/context/contextapplication.h b/src/blackcore/context/contextapplication.h index 175a4d065..776ecfe30 100644 --- a/src/blackcore/context/contextapplication.h +++ b/src/blackcore/context/contextapplication.h @@ -82,7 +82,7 @@ namespace BlackCore } //! \copydoc CContext::getPathAndContextId() - virtual QString getPathAndContextId() const { return this->buildPathAndContextId(ObjectPath()); } + virtual QString getPathAndContextId() const override { return this->buildPathAndContextId(ObjectPath()); } //! Factory method static IContextApplication *create(CCoreFacade *parent, CCoreFacadeConfig::ContextMode mode, BlackMisc::CDBusServer *server, QDBusConnection &conn); diff --git a/src/blackcore/context/contextaudio.h b/src/blackcore/context/contextaudio.h index d88dc9c5f..b0c277b61 100644 --- a/src/blackcore/context/contextaudio.h +++ b/src/blackcore/context/contextaudio.h @@ -77,7 +77,7 @@ namespace BlackCore static const QPixmap &pttHotkeyIcon(); //! \copydoc CContext::getPathAndContextId() - virtual QString getPathAndContextId() const { return this->buildPathAndContextId(ObjectPath()); } + virtual QString getPathAndContextId() const override { return this->buildPathAndContextId(ObjectPath()); } //! Factory method static IContextAudio *create(CCoreFacade *runtime, CCoreFacadeConfig::ContextMode mode, BlackMisc::CDBusServer *server, QDBusConnection &conn); diff --git a/src/blackcore/context/contextnetwork.h b/src/blackcore/context/contextnetwork.h index 9e2f4a4a3..1c5da184b 100644 --- a/src/blackcore/context/contextnetwork.h +++ b/src/blackcore/context/contextnetwork.h @@ -89,7 +89,7 @@ namespace BlackCore } //! \copydoc CContext::getPathAndContextId() - virtual QString getPathAndContextId() const { return this->buildPathAndContextId(ObjectPath()); } + virtual QString getPathAndContextId() const override { return this->buildPathAndContextId(ObjectPath()); } //! Factory method static IContextNetwork *create(CCoreFacade *parent, CCoreFacadeConfig::ContextMode mode, BlackMisc::CDBusServer *server, QDBusConnection &connection); diff --git a/src/blackcore/context/contextownaircraft.h b/src/blackcore/context/contextownaircraft.h index c2da03763..ec1f712a9 100644 --- a/src/blackcore/context/contextownaircraft.h +++ b/src/blackcore/context/contextownaircraft.h @@ -78,7 +78,7 @@ namespace BlackCore } //! \copydoc CContext::getPathAndContextId() - virtual QString getPathAndContextId() const { return this->buildPathAndContextId(ObjectPath()); } + virtual QString getPathAndContextId() const override { return this->buildPathAndContextId(ObjectPath()); } //! Factory method static IContextOwnAircraft *create(CCoreFacade *parent, CCoreFacadeConfig::ContextMode mode, BlackMisc::CDBusServer *server, QDBusConnection &conn); diff --git a/src/blackcore/context/contextsimulator.h b/src/blackcore/context/contextsimulator.h index a1e636ee7..cefe8d089 100644 --- a/src/blackcore/context/contextsimulator.h +++ b/src/blackcore/context/contextsimulator.h @@ -74,7 +74,7 @@ namespace BlackCore static const BlackMisc::PhysicalQuantities::CTime &HighlightTime(); //! \copydoc CContext::getPathAndContextId() - virtual QString getPathAndContextId() const { return this->buildPathAndContextId(ObjectPath()); } + virtual QString getPathAndContextId() const override { return this->buildPathAndContextId(ObjectPath()); } //! Factory method static IContextSimulator *create(CCoreFacade *parent, CCoreFacadeConfig::ContextMode mode, BlackMisc::CDBusServer *server, QDBusConnection &conn);