From af699eb83eddd981537432ab08a1bbe194e30df0 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 10 Oct 2022 14:38:29 +0200 Subject: Mark classes as final where possible --- src/encryption/DeviceVerificationFlow.h | 2 +- src/encryption/SelfVerificationStatus.h | 2 +- src/encryption/VerificationManager.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/encryption') diff --git a/src/encryption/DeviceVerificationFlow.h b/src/encryption/DeviceVerificationFlow.h index afaddb37..7a8500c4 100644 --- a/src/encryption/DeviceVerificationFlow.h +++ b/src/encryption/DeviceVerificationFlow.h @@ -61,7 +61,7 @@ using sas_ptr = std::unique_ptr; * We are the bigger mxid and deviceid (since we discard our start message). <- GLARE RESOLUTION */ // clang-format on -class DeviceVerificationFlow : public QObject +class DeviceVerificationFlow final : public QObject { Q_OBJECT Q_PROPERTY(QString state READ state NOTIFY stateChanged) diff --git a/src/encryption/SelfVerificationStatus.h b/src/encryption/SelfVerificationStatus.h index ec80fc6b..e5c1971b 100644 --- a/src/encryption/SelfVerificationStatus.h +++ b/src/encryption/SelfVerificationStatus.h @@ -7,7 +7,7 @@ #include -class SelfVerificationStatus : public QObject +class SelfVerificationStatus final : public QObject { Q_OBJECT diff --git a/src/encryption/VerificationManager.h b/src/encryption/VerificationManager.h index f9844cc0..a6f3f861 100644 --- a/src/encryption/VerificationManager.h +++ b/src/encryption/VerificationManager.h @@ -18,7 +18,7 @@ class TimelineModel; class TimelineViewManager; class RoomlistModel; -class VerificationManager : public QObject +class VerificationManager final : public QObject { Q_OBJECT -- cgit 1.5.1