diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-02-11 11:34:22 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-03-08 08:06:44 -0800 |
commit | 97b5ebb4d0ccc47805e685090c48fd514292252f (patch) | |
tree | bae14e1016e3e41bf812a317e65d66a6be647776 /src/shared | |
parent | 59a5fe99e1569421b920d99c5b20cdafcdcf43a9 (diff) | |
download | qtwayland-97b5ebb4d0ccc47805e685090c48fd514292252f.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/shared')
-rw-r--r-- | src/shared/qwaylandinputmethodeventbuilder_p.h | 1 | ||||
-rw-r--r-- | src/shared/qwaylandmimehelper_p.h | 1 | ||||
-rw-r--r-- | src/shared/qwaylandsharedmemoryformathelper_p.h | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/qwaylandinputmethodeventbuilder_p.h b/src/shared/qwaylandinputmethodeventbuilder_p.h index f362562f..77d65619 100644 --- a/src/shared/qwaylandinputmethodeventbuilder_p.h +++ b/src/shared/qwaylandinputmethodeventbuilder_p.h @@ -41,6 +41,7 @@ #define QWAYLANDINPUTMETHODEVENTBUILDER_H #include <QInputMethodEvent> +#include <private/qglobal_p.h> QT_BEGIN_NAMESPACE diff --git a/src/shared/qwaylandmimehelper_p.h b/src/shared/qwaylandmimehelper_p.h index 80487705..58ecbac0 100644 --- a/src/shared/qwaylandmimehelper_p.h +++ b/src/shared/qwaylandmimehelper_p.h @@ -43,6 +43,7 @@ #include <QString> #include <QByteArray> #include <QMimeData> +#include <private/qglobal_p.h> QT_BEGIN_NAMESPACE diff --git a/src/shared/qwaylandsharedmemoryformathelper_p.h b/src/shared/qwaylandsharedmemoryformathelper_p.h index 6feaff3f..e7cbafe5 100644 --- a/src/shared/qwaylandsharedmemoryformathelper_p.h +++ b/src/shared/qwaylandsharedmemoryformathelper_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 plugins of the Qt Toolkit. @@ -41,6 +41,7 @@ #define QWAYLANDSHAREDMEMORYFORMATHELPER_H #include <QtGui/QImage> +#include <QtCore/private/qglobal_p.h> //the correct protocol header for the wayland server or wayland client has to be //included before this file is included |