summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-01-10 08:53:20 +0100
committerJuha Vuolle <juha.vuolle@qt.io>2024-01-12 06:37:16 +0200
commitfbe29fb3684b02bec5f6019755d0a1bb0c94c275 (patch)
tree377cbdd669efbf7328f28f364d783cd6c522f267 /src/network/access
parent1702a37a3955f449210fe3874cfcd35bb08417ad (diff)
QRestReply: include / fwd-declare what you need
Don't depend on transitive includes and forward declarations. Found in API-review. Pick-to: 6.7 Change-Id: I61b9517453f164391abb9254d92e7ea38051e730 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qrestreply.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/access/qrestreply.h b/src/network/access/qrestreply.h
index 02b6d1196d..b4616e7fb3 100644
--- a/src/network/access/qrestreply.h
+++ b/src/network/access/qrestreply.h
@@ -6,9 +6,15 @@
#include <QtNetwork/qnetworkreply.h>
+#include <optional>
+
QT_BEGIN_NAMESPACE
+class QByteArray;
class QDebug;
+class QJsonDocument;
+class QString;
+
class QRestReplyPrivate;
class Q_NETWORK_EXPORT QRestReply : public QObject
{