mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -51,7 +51,7 @@ namespace BlackMisc
|
||||
|
||||
signals:
|
||||
//! Emitted by request and requestAsync.
|
||||
void requestPosted(const CVariant ¶m, BlackMisc::CPromise<BlackMisc::CVariant> o_reply);
|
||||
void requestPosted(const BlackMisc::CVariant ¶m, BlackMisc::CPromise<BlackMisc::CVariant> o_reply);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user