summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-02-11 11:34:22 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-03-08 08:06:46 -0800
commit56968389f48c4b8046efd0e4e3362b8b790aa021 (patch)
tree3b3f5b1ea5574a6f6c73296f418a924ad4b791f1 /src
parent1955f8e92258673fd9b8cb3ac35a8579b8c90d0d (diff)
downloadqtwebsockets-56968389f48c4b8046efd0e4e3362b8b790aa021.tar.gz
Make sure all private headers include at least one other
See script in qtbase/util/includeprivate for the rules. Since these files are being touched anyway, I also ran the updatecopyright.pl script too. Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/websockets/qdefaultmaskgenerator_p.h1
-rw-r--r--src/websockets/qsslserver_p.h1
-rw-r--r--src/websockets/qwebsocketcorsauthenticator_p.h2
-rw-r--r--src/websockets/qwebsockethandshakeresponse_p.h1
-rw-r--r--src/websockets/qwebsocketprotocol_p.h2
5 files changed, 5 insertions, 2 deletions
diff --git a/src/websockets/qdefaultmaskgenerator_p.h b/src/websockets/qdefaultmaskgenerator_p.h
index db1185e..3941056 100644
--- a/src/websockets/qdefaultmaskgenerator_p.h
+++ b/src/websockets/qdefaultmaskgenerator_p.h
@@ -52,6 +52,7 @@
//
#include <QtWebSockets/qmaskgenerator.h>
+#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE
class QObject;
diff --git a/src/websockets/qsslserver_p.h b/src/websockets/qsslserver_p.h
index 4f1683a..a019fa6 100644
--- a/src/websockets/qsslserver_p.h
+++ b/src/websockets/qsslserver_p.h
@@ -56,6 +56,7 @@
#include <QtNetwork/QSslConfiguration>
#include <QtNetwork/QSslPreSharedKeyAuthenticator>
#include <QtCore/QList>
+#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/websockets/qwebsocketcorsauthenticator_p.h b/src/websockets/qwebsocketcorsauthenticator_p.h
index e1dfe55..6ef097c 100644
--- a/src/websockets/qwebsocketcorsauthenticator_p.h
+++ b/src/websockets/qwebsocketcorsauthenticator_p.h
@@ -39,7 +39,7 @@
#ifndef QWEBSOCKETCORSAUTHENTICATOR_P_H
#define QWEBSOCKETCORSAUTHENTICATOR_P_H
-#include <QtCore/qglobal.h>
+#include <QtCore/private/qglobal_p.h>
#include <QtCore/QString>
//
diff --git a/src/websockets/qwebsockethandshakeresponse_p.h b/src/websockets/qwebsockethandshakeresponse_p.h
index 9a9b883..49abb9e 100644
--- a/src/websockets/qwebsockethandshakeresponse_p.h
+++ b/src/websockets/qwebsockethandshakeresponse_p.h
@@ -53,6 +53,7 @@
#include <QtCore/QObject>
#include <QtCore/QList>
#include "qwebsocketprotocol.h"
+#include "private/qglobal_p.h"
QT_BEGIN_NAMESPACE
diff --git a/src/websockets/qwebsocketprotocol_p.h b/src/websockets/qwebsocketprotocol_p.h
index 82d543f..c3a9b25 100644
--- a/src/websockets/qwebsocketprotocol_p.h
+++ b/src/websockets/qwebsocketprotocol_p.h
@@ -51,7 +51,7 @@
// We mean it.
//
-#include <QtCore/qglobal.h>
+#include <QtCore/private/qglobal_p.h>
#include "QtWebSockets/qwebsocketprotocol.h"
#include <QtCore/qstringview.h>