From f29cb084ad5797dfe87192227415ecef45ef18ba Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 2 Dec 2015 16:51:10 +0100 Subject: Fix some syncqt warnings Change-Id: I9f224e96138117bdf202084231ce6c805e15f5b2 Reviewed-by: Michal Klocek Reviewed-by: Allan Sandfeld Jensen --- src/core/api/qtwebenginecoreglobal.h | 4 ++++ src/core/api/qwebenginecallback_p.h | 11 +++++++++++ src/core/api/qwebengineurlrequestinfo_p.h | 11 +++++++++++ 3 files changed, 26 insertions(+) (limited to 'src/core') diff --git a/src/core/api/qtwebenginecoreglobal.h b/src/core/api/qtwebenginecoreglobal.h index 16daaab7d..a17b355eb 100644 --- a/src/core/api/qtwebenginecoreglobal.h +++ b/src/core/api/qtwebenginecoreglobal.h @@ -39,6 +39,8 @@ #include +QT_BEGIN_NAMESPACE + #if defined(BUILDING_CHROMIUM) # define QWEBENGINE_EXPORT Q_DECL_EXPORT #else @@ -47,4 +49,6 @@ #define ASSERT_ENUMS_MATCH(A, B) Q_STATIC_ASSERT_X(static_cast(A) == static_cast(B), "The enum values must match"); +QT_END_NAMESPACE + #endif // QTWEBENGINECOREGLOBAL_H diff --git a/src/core/api/qwebenginecallback_p.h b/src/core/api/qwebenginecallback_p.h index 9bc9b9727..348fed464 100644 --- a/src/core/api/qwebenginecallback_p.h +++ b/src/core/api/qwebenginecallback_p.h @@ -37,6 +37,17 @@ #ifndef QWEBENGINECALLBACK_P_H #define QWEBENGINECALLBACK_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 "qtwebenginecoreglobal_p.h" #include "qwebenginecallback.h" diff --git a/src/core/api/qwebengineurlrequestinfo_p.h b/src/core/api/qwebengineurlrequestinfo_p.h index df5f18d6e..c78a93613 100644 --- a/src/core/api/qwebengineurlrequestinfo_p.h +++ b/src/core/api/qwebengineurlrequestinfo_p.h @@ -37,6 +37,17 @@ #ifndef QWEBENGINEURLREQUESTINFO_P_H #define QWEBENGINEURLREQUESTINFO_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 "qtwebenginecoreglobal_p.h" #include "qwebengineurlrequestinfo.h" -- cgit v1.2.3