aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-03 19:48:48 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-03 19:48:48 +0900
commit553c22541026bd44f8fbc7f4e186e60703f5ecb3 (patch)
treeb98ff2f4ac638ac6377899c3531310921e14076f /lib/csapi
parent66b08e3570d272d4dd81823cdf303ce7eae17609 (diff)
downloadlibquotient-553c22541026bd44f8fbc7f4e186e60703f5ecb3.tar.gz
libquotient-553c22541026bd44f8fbc7f4e186e60703f5ecb3.zip
csapi: No need to explicitly #include <QtCore/QStringList>
Diffstat (limited to 'lib/csapi')
-rw-r--r--lib/csapi/create_room.h3
-rw-r--r--lib/csapi/directory.h1
-rw-r--r--lib/csapi/gtad.yaml2
-rw-r--r--lib/csapi/list_joined_rooms.h1
-rw-r--r--lib/csapi/list_public_rooms.h1
-rw-r--r--lib/csapi/search.h3
-rw-r--r--lib/csapi/versions.h1
7 files changed, 3 insertions, 9 deletions
diff --git a/lib/csapi/create_room.h b/lib/csapi/create_room.h
index 995d5e73..f7b7e800 100644
--- a/lib/csapi/create_room.h
+++ b/lib/csapi/create_room.h
@@ -7,9 +7,8 @@
#include "jobs/basejob.h"
#include <QtCore/QJsonObject>
-#include <QtCore/QStringList>
-#include <QtCore/QVector>
#include "converters.h"
+#include <QtCore/QVector>
namespace QMatrixClient
{
diff --git a/lib/csapi/directory.h b/lib/csapi/directory.h
index bf37170a..1e6b2f46 100644
--- a/lib/csapi/directory.h
+++ b/lib/csapi/directory.h
@@ -6,7 +6,6 @@
#include "jobs/basejob.h"
-#include <QtCore/QStringList>
namespace QMatrixClient
{
diff --git a/lib/csapi/gtad.yaml b/lib/csapi/gtad.yaml
index 2e3b3c51..fcf0ba25 100644
--- a/lib/csapi/gtad.yaml
+++ b/lib/csapi/gtad.yaml
@@ -70,7 +70,7 @@ analyzer:
- /m\.room\.member$/: pass # This $ref is only used in an array, see below
- //: *UseOmittable # Also apply "avoidCopy" to all other ref'ed types
- array:
- - string: { type: QStringList, imports: <QtCore/QStringList> }
+ - string: QStringList
- +set: { moveOnly: }
+on:
- /^Notification|Result$/:
diff --git a/lib/csapi/list_joined_rooms.h b/lib/csapi/list_joined_rooms.h
index 0a4a585f..2a030a54 100644
--- a/lib/csapi/list_joined_rooms.h
+++ b/lib/csapi/list_joined_rooms.h
@@ -6,7 +6,6 @@
#include "jobs/basejob.h"
-#include <QtCore/QStringList>
namespace QMatrixClient
{
diff --git a/lib/csapi/list_public_rooms.h b/lib/csapi/list_public_rooms.h
index 16278bd5..c12773aa 100644
--- a/lib/csapi/list_public_rooms.h
+++ b/lib/csapi/list_public_rooms.h
@@ -7,7 +7,6 @@
#include "jobs/basejob.h"
#include <QtCore/QVector>
-#include <QtCore/QStringList>
#include "converters.h"
namespace QMatrixClient
diff --git a/lib/csapi/search.h b/lib/csapi/search.h
index 98a6315f..206bacca 100644
--- a/lib/csapi/search.h
+++ b/lib/csapi/search.h
@@ -8,9 +8,8 @@
#include <unordered_map>
#include <QtCore/QHash>
-#include "events/event.h"
#include <QtCore/QJsonObject>
-#include <QtCore/QStringList>
+#include "events/event.h"
#include "converters.h"
#include <QtCore/QVector>
diff --git a/lib/csapi/versions.h b/lib/csapi/versions.h
index ab00eaa8..9f1a4831 100644
--- a/lib/csapi/versions.h
+++ b/lib/csapi/versions.h
@@ -6,7 +6,6 @@
#include "jobs/basejob.h"
-#include <QtCore/QStringList>
namespace QMatrixClient
{