From 167349b9d2021ea1731b857eda62f253ebaf7399 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 1 Sep 2023 11:51:36 +0200 Subject: [PATCH] Remove unused forward declaration --- src/actionshandler.h | 1 - src/chatdocumenthandler.h | 1 - src/controller.h | 1 - src/matriximageprovider.h | 5 ----- src/models/accountemoticonmodel.h | 2 -- src/models/livelocationsmodel.h | 5 ----- 6 files changed, 15 deletions(-) diff --git a/src/actionshandler.h b/src/actionshandler.h index 20288dd2d..4aa11a6d7 100644 --- a/src/actionshandler.h +++ b/src/actionshandler.h @@ -9,7 +9,6 @@ #include "neochatroom.h" -class CustomEmojiModel; class NeoChatRoom; /** diff --git a/src/chatdocumenthandler.h b/src/chatdocumenthandler.h index a6f18c2fa..788610b9f 100644 --- a/src/chatdocumenthandler.h +++ b/src/chatdocumenthandler.h @@ -10,7 +10,6 @@ #include "models/completionmodel.h" #include "neochatroom.h" -class QTextDocument; class NeoChatRoom; class SyntaxHighlighter; diff --git a/src/controller.h b/src/controller.h index e3a08a440..5cdfeee10 100644 --- a/src/controller.h +++ b/src/controller.h @@ -16,7 +16,6 @@ class NeoChatRoom; class TrayIcon; -class QWindow; class QQuickTextDocument; namespace Quotient diff --git a/src/matriximageprovider.h b/src/matriximageprovider.h index d20c30475..9ace1ff21 100644 --- a/src/matriximageprovider.h +++ b/src/matriximageprovider.h @@ -10,11 +10,6 @@ #include -namespace Quotient -{ -class Connection; -} - /** * @class ThumbnailResponse * diff --git a/src/models/accountemoticonmodel.h b/src/models/accountemoticonmodel.h index ea21f6f2d..e0829fd4b 100644 --- a/src/models/accountemoticonmodel.h +++ b/src/models/accountemoticonmodel.h @@ -13,8 +13,6 @@ #include -class ImagePacksModel; - /** * @class AccountEmoticonModel * diff --git a/src/models/livelocationsmodel.h b/src/models/livelocationsmodel.h index 3e1d7b09f..d129c9938 100644 --- a/src/models/livelocationsmodel.h +++ b/src/models/livelocationsmodel.h @@ -10,11 +10,6 @@ #include #include -namespace Quotient -{ -class RoomMessageEvent; -} - struct LiveLocationData { QString eventId; QString senderId;