[pim/trojita] src/Imap/Parser: Remove unused include directives

Espen Sandøy Hustad <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8fcb13f6aa8f9e9853d86c267c977fb70291952a by Espen Sandøy Hustad.
Committed on 20/07/2026 at 21:38.
Pushed by ehustad into branch 'master'.

Remove unused include directives

As a first step in getting rid of the dependency on
the Qt5 Core Compatibility API.

M  +0    -1    src/Imap/Parser/3rdparty/rfccodecs.cpp
M  +0    -1    src/Imap/Parser/MailAddress.cpp
M  +0    -1    src/Imap/Parser/Message.cpp
M  +0    -1    src/Imap/Parser/Parser.h

https://invent.kde.org/pim/trojita/-/commit/8fcb13f6aa8f9e9853d86c267c977fb70291952a

diff --git a/src/Imap/Parser/3rdparty/rfccodecs.cpp b/src/Imap/Parser/3rdparty/rfccodecs.cpp
index 219db968d..dee5228c8 100644
--- a/src/Imap/Parser/3rdparty/rfccodecs.cpp
+++ b/src/Imap/Parser/3rdparty/rfccodecs.cpp
@@ -41,7 +41,6 @@
 #include <QBuffer>
 #include <QByteArray>
 #include <QLatin1Char>
-#include <QTextCodec>
 
 #include "kcodecs.h"
 
diff --git a/src/Imap/Parser/MailAddress.cpp b/src/Imap/Parser/MailAddress.cpp
index 55d2049fc..cec0fcbaf 100644
--- a/src/Imap/Parser/MailAddress.cpp
+++ b/src/Imap/Parser/MailAddress.cpp
@@ -27,7 +27,6 @@
 #include <QTextDocument>
 #include <QUrl>
 #include <QUrlQuery>
-#include <QTextCodec>
 #include "MailAddress.h"
 #include "../Model/MailboxTree.h"
 #include "../Encoders.h"
diff --git a/src/Imap/Parser/Message.cpp b/src/Imap/Parser/Message.cpp
index 4fd689e2b..fc97fd798 100644
--- a/src/Imap/Parser/Message.cpp
+++ b/src/Imap/Parser/Message.cpp
@@ -24,7 +24,6 @@
 
 #include <QTextDocument>
 #include <QUrl>
-#include <QTextCodec>
 #include "Message.h"
 #include "MailAddress.h"
 #include "LowLevelParser.h"
diff --git a/src/Imap/Parser/Parser.h b/src/Imap/Parser/Parser.h
index 75be88ff4..8cb38484d 100644
--- a/src/Imap/Parser/Parser.h
+++ b/src/Imap/Parser/Parser.h
@@ -21,7 +21,6 @@
 */
 #ifndef IMAP_PARSER_H
 #define IMAP_PARSER_H
-#include <QLinkedList>
 #include <QSharedPointer>
 #include "Command.h"
 #include "Response.h"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.