aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-10-24 22:08:04 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-25 10:34:35 +0200
commitd45b69ab3d80049503dd8d0fc3e973cd60726ff3 (patch)
tree35c471d689add59117b8aa1c3f3d80b271aa1802 /src/qmltest
parent1d445eb5b1a14da342382a088f4e1cc5492ea32e (diff)
Add QT_BEGIN_HEADER/QT_END_HEADER macros
Fixing `macros' function test of `tst_headers' Task-number: QTQAINFRA-324 Change-Id: I0cd3ea6ee631c3e19078eda2104c78803d77939d Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktest.h4
-rw-r--r--src/qmltest/quicktestglobal.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/qmltest/quicktest.h b/src/qmltest/quicktest.h
index a83d176cfa..50c31f0460 100644
--- a/src/qmltest/quicktest.h
+++ b/src/qmltest/quicktest.h
@@ -48,6 +48,8 @@
#include <QtGui/qopengl.h>
#endif
+QT_BEGIN_HEADER
+
QT_BEGIN_NAMESPACE
typedef QWidget *(*quick_test_viewport_create)();
@@ -94,4 +96,6 @@ Q_QUICK_TEST_EXPORT int quick_test_main(int argc, char **argv, const char *name,
QT_END_NAMESPACE
+QT_END_HEADER
+
#endif
diff --git a/src/qmltest/quicktestglobal.h b/src/qmltest/quicktestglobal.h
index 6d5c5214f4..389674c1b5 100644
--- a/src/qmltest/quicktestglobal.h
+++ b/src/qmltest/quicktestglobal.h
@@ -44,6 +44,8 @@
#include <QtCore/qglobal.h>
+QT_BEGIN_HEADER
+
QT_LICENSED_MODULE(QtQuickTest)
#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
# if defined(QT_NODLL)
@@ -70,4 +72,6 @@ QT_LICENSED_MODULE(QtQuickTest)
# endif
#endif
+QT_END_HEADER
+
#endif