diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-02-11 11:34:21 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-03-08 08:04:50 -0800 |
commit | 9d1d7a366edc4d5ac017231b18132fd481c6b061 (patch) | |
tree | be7c48f000718acaa3d7add15850e7d5251ad6e4 | |
parent | dea8699548b69a4e7dd526eb7a472b49f9b07670 (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: Lars Knoll <lars.knoll@qt.io>
-rw-r--r-- | src/charts/charthelpers_p.h | 1 | ||||
-rw-r--r-- | src/charts/glwidget_p.h | 3 | ||||
-rw-r--r-- | src/charts/piechart/pieslicedata_p.h | 3 | ||||
-rw-r--r-- | src/chartsqml2/declarativechartnode_p.h | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/src/charts/charthelpers_p.h b/src/charts/charthelpers_p.h index 48fd5b6c..266cfcb6 100644 --- a/src/charts/charthelpers_p.h +++ b/src/charts/charthelpers_p.h @@ -41,6 +41,7 @@ #include <QtCore/QtNumeric> #include <QtCore/QPointF> +#include <QtCore/private/qglobal_p.h> static inline bool isValidValue(qreal value) { diff --git a/src/charts/glwidget_p.h b/src/charts/glwidget_p.h index 798a27b8..12172939 100644 --- a/src/charts/glwidget_p.h +++ b/src/charts/glwidget_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 Qt Charts module of the Qt Toolkit. @@ -51,6 +51,7 @@ #include <QtCharts/QAbstractSeries> #include <QtCharts/QXYSeries> #include <QtCharts/QChart> +#include <QtCore/private/qglobal_p.h> QT_FORWARD_DECLARE_CLASS(QOpenGLShaderProgram) diff --git a/src/charts/piechart/pieslicedata_p.h b/src/charts/piechart/pieslicedata_p.h index a4a24393..9dbe0259 100644 --- a/src/charts/piechart/pieslicedata_p.h +++ b/src/charts/piechart/pieslicedata_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 Qt Charts module of the Qt Toolkit. @@ -43,6 +43,7 @@ #include <QtCharts/QPieSlice> #include <QtGui/QPen> #include <QtGui/QBrush> +#include <QtCore/private/qglobal_p.h> QT_BEGIN_NAMESPACE diff --git a/src/chartsqml2/declarativechartnode_p.h b/src/chartsqml2/declarativechartnode_p.h index 54e9fe2b..d4229306 100644 --- a/src/chartsqml2/declarativechartnode_p.h +++ b/src/chartsqml2/declarativechartnode_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 Qt Charts module of the Qt Toolkit. @@ -43,6 +43,7 @@ #include <QtQuick/QSGNode> #include <QtQuick/QQuickWindow> #include <QtQuick/QSGImageNode> +#include <QtCore/private/qglobal_p.h> QT_BEGIN_NAMESPACE |