aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-02 20:54:39 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-23 17:12:08 +0100
commit29775218e0c8b6c176015dd3128a0d545906ae6f (patch)
tree9536fde4c276ba6453de4ac2820731a0620c6ba9
parentabbab8d8f8c566bc2c9cdf766c6fbb11d978ca47 (diff)
downloadlibquotient-29775218e0c8b6c176015dd3128a0d545906ae6f.tar.gz
libquotient-29775218e0c8b6c176015dd3128a0d545906ae6f.zip
Cleanup some #includes
-rw-r--r--lib/events/eventcontent.cpp1
-rw-r--r--lib/events/receiptevent.cpp1
-rw-r--r--lib/events/roomevent.cpp1
-rw-r--r--lib/events/roommemberevent.cpp1
-rw-r--r--lib/jobs/basejob.cpp2
-rw-r--r--lib/jobs/basejob.h6
6 files changed, 3 insertions, 9 deletions
diff --git a/lib/events/eventcontent.cpp b/lib/events/eventcontent.cpp
index 22878d4c..4ce130a6 100644
--- a/lib/events/eventcontent.cpp
+++ b/lib/events/eventcontent.cpp
@@ -4,7 +4,6 @@
#include "eventcontent.h"
#include "converters.h"
-#include "util.h"
#include "logging.h"
#include <QtCore/QMimeDatabase>
diff --git a/lib/events/receiptevent.cpp b/lib/events/receiptevent.cpp
index 72dbf2e3..7f06d99f 100644
--- a/lib/events/receiptevent.cpp
+++ b/lib/events/receiptevent.cpp
@@ -20,7 +20,6 @@ Example of a Receipt Event:
#include "receiptevent.h"
-#include "converters.h"
#include "logging.h"
using namespace Quotient;
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp
index b728e0bf..3502e3f7 100644
--- a/lib/events/roomevent.cpp
+++ b/lib/events/roomevent.cpp
@@ -3,7 +3,6 @@
#include "roomevent.h"
-#include "converters.h"
#include "logging.h"
#include "redactionevent.h"
diff --git a/lib/events/roommemberevent.cpp b/lib/events/roommemberevent.cpp
index 3141f6b5..b4770224 100644
--- a/lib/events/roommemberevent.cpp
+++ b/lib/events/roommemberevent.cpp
@@ -4,7 +4,6 @@
#include "roommemberevent.h"
-#include "converters.h"
#include "logging.h"
#include <QtCore/QtAlgorithms>
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index f518a1b0..b6858b5a 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -5,11 +5,9 @@
#include "basejob.h"
#include "connectiondata.h"
-#include "quotient_common.h"
#include <QtCore/QRegularExpression>
#include <QtCore/QTimer>
-#include <QtCore/QStringBuilder>
#include <QtCore/QMetaEnum>
#include <QtCore/QPointer>
#include <QtNetwork/QNetworkAccessManager>
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h
index 9ed58ba8..555c602b 100644
--- a/lib/jobs/basejob.h
+++ b/lib/jobs/basejob.h
@@ -5,9 +5,9 @@
#pragma once
#include "requestdata.h"
-#include "../logging.h"
-#include "../converters.h"
-#include "../quotient_common.h"
+#include "logging.h"
+#include "converters.h" // Common for csapi/ headers even though not used here
+#include "quotient_common.h" // For DECL_DEPRECATED_ENUMERATOR
#include <QtCore/QObject>
#include <QtCore/QStringBuilder>