aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-02-11 11:34:21 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-03-10 23:25:33 -0800
commit399eb3da3a9883768a00f45b59606db822d9d749 (patch)
treeaca207a3344b522b7f5ee38ab4312ee78ef1b733 /src/qmldebug
parentb92ab2b48e8a69baac0d236f09b56484d2ee7698 (diff)
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: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qmldebug')
-rw-r--r--src/qmldebug/qqmldebugclient_p.h3
-rw-r--r--src/qmldebug/qqmldebugconnection_p.h3
-rw-r--r--src/qmldebug/qqmlprofilerclientdefinitions_p.h2
-rw-r--r--src/qmldebug/qqmlprofilereventlocation_p.h3
4 files changed, 7 insertions, 4 deletions
diff --git a/src/qmldebug/qqmldebugclient_p.h b/src/qmldebug/qqmldebugclient_p.h
index 469b65d4a9..2b9a0298b7 100644
--- a/src/qmldebug/qqmldebugclient_p.h
+++ b/src/qmldebug/qqmldebugclient_p.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
@@ -41,6 +41,7 @@
#define QQMLDEBUGCLIENT_P_H
#include <QtCore/qobject.h>
+#include <QtCore/private/qglobal_p.h>
//
// W A R N I N G
diff --git a/src/qmldebug/qqmldebugconnection_p.h b/src/qmldebug/qqmldebugconnection_p.h
index 5abdd2943b..846a9580d1 100644
--- a/src/qmldebug/qqmldebugconnection_p.h
+++ b/src/qmldebug/qqmldebugconnection_p.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
@@ -42,6 +42,7 @@
#include <QtCore/qobject.h>
#include <QtNetwork/qabstractsocket.h>
+#include <QtCore/private/qglobal_p.h>
//
// W A R N I N G
diff --git a/src/qmldebug/qqmlprofilerclientdefinitions_p.h b/src/qmldebug/qqmlprofilerclientdefinitions_p.h
index be1c6318af..12b00cbb67 100644
--- a/src/qmldebug/qqmlprofilerclientdefinitions_p.h
+++ b/src/qmldebug/qqmlprofilerclientdefinitions_p.h
@@ -51,7 +51,7 @@
// We mean it.
//
-#include <QtCore/qglobal.h>
+#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/qmldebug/qqmlprofilereventlocation_p.h b/src/qmldebug/qqmlprofilereventlocation_p.h
index 292d9c40ac..881c8cad4c 100644
--- a/src/qmldebug/qqmlprofilereventlocation_p.h
+++ b/src/qmldebug/qqmlprofilereventlocation_p.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
@@ -43,6 +43,7 @@
#include <QtCore/qstring.h>
#include <QtCore/qhash.h>
#include <QtCore/qdatastream.h>
+#include <QtCore/private/qglobal_p.h>
//
// W A R N I N G