aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/qtquickglobal.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-09-22 13:47:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-22 13:57:28 +0200
commitb76104cf983b930c0eea68ee6a4b8b403a513657 (patch)
treeadda6e42edd47a02fbe14dd18c07c717e6d4deed /src/quick/qtquickglobal.h
parentb5d5437ae221ad97ae78ecc484bf26a585402f65 (diff)
Add QT_{BEGIN,END}_{NAMESPACE,HEADER} to qtquickglobal.h
Unit test is testing for it Change-Id: Ie37a0f7103dbe8c19a4cfbca2d4fe026c805ba0b Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/quick/qtquickglobal.h')
-rw-r--r--src/quick/qtquickglobal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quick/qtquickglobal.h b/src/quick/qtquickglobal.h
index ad85b2e96b..86cdd7e9b1 100644
--- a/src/quick/qtquickglobal.h
+++ b/src/quick/qtquickglobal.h
@@ -44,6 +44,9 @@
#include <QtCore/qglobal.h>
+QT_BEGIN_HEADER
+QT_BEGIN_NAMESPACE
+
#ifndef QT_STATIC
# if defined(QT_BUILD_QUICK_LIB)
# define Q_QUICK_EXPORT Q_DECL_EXPORT
@@ -54,4 +57,7 @@
# define Q_QUICK_EXPORT
#endif
+QT_END_NAMESPACE
+QT_END_HEADER
+
#endif // QTQUICKGLOBAL_H