From f9d122159e48f73a2b6e7df2e48ba470ccc87d77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20R=C3=B8dal?= Date: Fri, 9 Nov 2012 13:14:33 +0100 Subject: [PATCH] Added private header warnings in src/gui/kernel Change-Id: If3ad9d1e18543639f9e6abb8899b72772bc70c83 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qguiapplication_p.h | 11 +++++++++++ src/gui/kernel/qinputmethod_p.h | 11 +++++++++++ src/gui/kernel/qopenglcontext_p.h | 11 +++++++++++ src/gui/kernel/qplatforminputcontext_p.h | 11 +++++++++++ src/gui/kernel/qscreen_p.h | 11 +++++++++++ src/gui/kernel/qtouchdevice_p.h | 11 +++++++++++ src/gui/kernel/qwindow_p.h | 12 +++++++++++- src/gui/kernel/qwindowsysteminterface_p.h | 11 +++++++++++ 8 files changed, 88 insertions(+), 1 deletion(-) diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index c9eb672..173f4e6 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -42,6 +42,17 @@ #ifndef QGUIAPPLICATION_P_H #define QGUIAPPLICATION_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/gui/kernel/qinputmethod_p.h b/src/gui/kernel/qinputmethod_p.h index f35d135..566b341 100644 --- a/src/gui/kernel/qinputmethod_p.h +++ b/src/gui/kernel/qinputmethod_p.h @@ -42,6 +42,17 @@ #ifndef QINPUTMETHOD_P_H #define QINPUTMETHOD_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include #include diff --git a/src/gui/kernel/qopenglcontext_p.h b/src/gui/kernel/qopenglcontext_p.h index efce991..198528d 100644 --- a/src/gui/kernel/qopenglcontext_p.h +++ b/src/gui/kernel/qopenglcontext_p.h @@ -42,6 +42,17 @@ #ifndef QOPENGLCONTEXT_P_H #define QOPENGLCONTEXT_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #ifndef QT_NO_OPENGL #include "qopengl.h" diff --git a/src/gui/kernel/qplatforminputcontext_p.h b/src/gui/kernel/qplatforminputcontext_p.h index 3dc2ad2..19a3619 100644 --- a/src/gui/kernel/qplatforminputcontext_p.h +++ b/src/gui/kernel/qplatforminputcontext_p.h @@ -42,6 +42,17 @@ #ifndef QPLATFORMINPUTCONTEXT_P_H #define QPLATFORMINPUTCONTEXT_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include QT_BEGIN_HEADER diff --git a/src/gui/kernel/qscreen_p.h b/src/gui/kernel/qscreen_p.h index f3b6082..aea108f 100644 --- a/src/gui/kernel/qscreen_p.h +++ b/src/gui/kernel/qscreen_p.h @@ -42,6 +42,17 @@ #ifndef QSCREEN_P_H #define QSCREEN_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/gui/kernel/qtouchdevice_p.h b/src/gui/kernel/qtouchdevice_p.h index e58c795..ff6e0ff 100644 --- a/src/gui/kernel/qtouchdevice_p.h +++ b/src/gui/kernel/qtouchdevice_p.h @@ -42,6 +42,17 @@ #ifndef QTOUCHDEVICE_P_H #define QTOUCHDEVICE_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/gui/kernel/qwindow_p.h b/src/gui/kernel/qwindow_p.h index e522368..fcc5540 100644 --- a/src/gui/kernel/qwindow_p.h +++ b/src/gui/kernel/qwindow_p.h @@ -42,6 +42,17 @@ #ifndef QWINDOW_P_H #define QWINDOW_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include @@ -52,7 +63,6 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE - #define QWINDOWSIZE_MAX ((1<<24)-1) class Q_GUI_EXPORT QWindowPrivate : public QObjectPrivate diff --git a/src/gui/kernel/qwindowsysteminterface_p.h b/src/gui/kernel/qwindowsysteminterface_p.h index 1b5351d..5867337 100644 --- a/src/gui/kernel/qwindowsysteminterface_p.h +++ b/src/gui/kernel/qwindowsysteminterface_p.h @@ -41,6 +41,17 @@ #ifndef QWINDOWSYSTEMINTERFACE_P_H #define QWINDOWSYSTEMINTERFACE_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include "qwindowsysteminterface.h" #include -- 2.7.4