summaryrefslogtreecommitdiff
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:45 -0800
commit2d1ae2530212df6ea879f0e0c758394d3f7d3168 (patch)
tree6278fbd47c084754906dfea833c610b738249a56
parent823e4abf9098b92bd979cab3f524e4ed7e98151f (diff)
downloadqtwebchannel-2d1ae2530212df6ea879f0e0c758394d3f7d3168.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>
-rw-r--r--src/webchannel/qqmlwebchannelattached_p.h1
-rw-r--r--src/webchannel/signalhandler_p.h3
-rw-r--r--src/webchannel/variantargument_p.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/webchannel/qqmlwebchannelattached_p.h b/src/webchannel/qqmlwebchannelattached_p.h
index 403b205..56076d5 100644
--- a/src/webchannel/qqmlwebchannelattached_p.h
+++ b/src/webchannel/qqmlwebchannelattached_p.h
@@ -54,6 +54,7 @@
#include <QObject>
#include "qwebchannelglobal.h"
+#include "private/qglobal_p.h"
QT_BEGIN_NAMESPACE
diff --git a/src/webchannel/signalhandler_p.h b/src/webchannel/signalhandler_p.h
index 942c020..4d1f1e5 100644
--- a/src/webchannel/signalhandler_p.h
+++ b/src/webchannel/signalhandler_p.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com>
+** Copyright (C) 2019 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWebChannel module of the Qt Toolkit.
@@ -57,6 +57,7 @@
#include <QMetaMethod>
#include <QDebug>
#include <QThread>
+#include <private/qglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/webchannel/variantargument_p.h b/src/webchannel/variantargument_p.h
index afac507..e56283f 100644
--- a/src/webchannel/variantargument_p.h
+++ b/src/webchannel/variantargument_p.h
@@ -52,6 +52,7 @@
//
#include <QVariant>
+#include <private/qglobal_p.h>
QT_BEGIN_NAMESPACE