summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-12-02 16:51:10 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-12-11 21:34:19 +0000
commitf29cb084ad5797dfe87192227415ecef45ef18ba (patch)
tree130fd933e7ab964c3daf591fb5d13c30053be5da /src
parent30fe6b91128e08cae583eb6105ce95f76f743fe1 (diff)
Fix some syncqt warnings
Change-Id: I9f224e96138117bdf202084231ce6c805e15f5b2 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/api/qtwebenginecoreglobal.h4
-rw-r--r--src/core/api/qwebenginecallback_p.h11
-rw-r--r--src/core/api/qwebengineurlrequestinfo_p.h11
3 files changed, 26 insertions, 0 deletions
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 <QtCore/qglobal.h>
+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<int>(A) == static_cast<int>(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"