summaryrefslogtreecommitdiffstats
path: root/src/network/compat/removed_api.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@qt.io>2024-02-12 11:18:55 +0200
committerJuha Vuolle <juha.vuolle@qt.io>2024-02-14 17:57:02 +0200
commit6c213653d0841f00781e497a0cf724a145e75a0c (patch)
tree0c248dc181e65d5751bdf03cba388c9076a82613 /src/network/compat/removed_api.cpp
parentf21af7f88b2184a420293967d07bf6552541ddc9 (diff)
Inline old QNetworkRequest transferTimeout int overloads
Qt 6.7 introduced new std::chrono variants of the transfer timeout functions. We can now inline the old 'int milliseconds' functions to reduce the number of DLL entry points when one isn't needed. Task-number: QTBUG-122023 Change-Id: Iedcb6d0035bc6c3f03b87de543e9b02937b755e6 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/compat/removed_api.cpp')
-rw-r--r--src/network/compat/removed_api.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/compat/removed_api.cpp b/src/network/compat/removed_api.cpp
index 956018cece0..86951d92226 100644
--- a/src/network/compat/removed_api.cpp
+++ b/src/network/compat/removed_api.cpp
@@ -55,3 +55,13 @@ QList<QNetworkCookie> QNetworkCookie::parseCookies(const QByteArray &cookieStrin
// order sections alphabetically
#endif // QT_NETWORK_REMOVED_SINCE(6, 7)
+
+#if QT_NETWORK_REMOVED_SINCE(6, 8)
+
+#include "qnetworkrequest.h" // inlined API
+
+// #include "qotherheader.h"
+// // implement removed functions from qotherheader.h
+// order sections alphabetically
+
+#endif // QT_NETWORK_REMOVED_SINCE(6, 8)