Fix clang-tidy and clazy warnings

This commit is contained in:
Mat Sutcliffe
2021-08-27 16:21:41 +01:00
parent 2aeacf49a7
commit eb6b0ff289
122 changed files with 197 additions and 205 deletions

View File

@@ -51,7 +51,7 @@ namespace BlackMisc
signals:
//! Emitted by request and requestAsync.
void requestPosted(const CVariant &param, BlackMisc::CPromise<BlackMisc::CVariant> o_reply);
void requestPosted(const BlackMisc::CVariant &param, BlackMisc::CPromise<BlackMisc::CVariant> o_reply);
};
}
}

View File

@@ -28,7 +28,7 @@ namespace BlackMisc
/*!
* Server side implementation of IDuplex. Receives messages from clients and forwards them to other clients via the CHub.
*/
class BLACKMISC_EXPORT CDuplex : public IDuplex
class BLACKMISC_EXPORT CDuplex final : public IDuplex
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", BLACKMISC_DUPLEX_INTERFACE)

View File

@@ -24,7 +24,7 @@ namespace BlackMisc
/*!
* Client side implementation of IDuplex, through which the client communicates with the server.
*/
class BLACKMISC_EXPORT CDuplexProxy : public IDuplex
class BLACKMISC_EXPORT CDuplexProxy final : public IDuplex
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", BLACKMISC_DUPLEX_INTERFACE)

View File

@@ -29,7 +29,7 @@ namespace BlackMisc
/*!
* Server side implementation of IHub. Maintains a collection of CDuplex objects.
*/
class BLACKMISC_EXPORT CHub : public IHub
class BLACKMISC_EXPORT CHub final : public IHub
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", BLACKMISC_HUB_INTERFACE)

View File

@@ -25,7 +25,7 @@ namespace BlackMisc
/*!
* Client side implementation of IHub.
*/
class BLACKMISC_EXPORT CHubProxy : public IHub
class BLACKMISC_EXPORT CHubProxy final : public IHub
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", BLACKMISC_HUB_INTERFACE)