aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmltc/prototype/qml2cpppropertyutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmltc/prototype/qml2cpppropertyutils.h')
-rw-r--r--tools/qmltc/prototype/qml2cpppropertyutils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qmltc/prototype/qml2cpppropertyutils.h b/tools/qmltc/prototype/qml2cpppropertyutils.h
index 4b3e513b90..31f3f73297 100644
--- a/tools/qmltc/prototype/qml2cpppropertyutils.h
+++ b/tools/qmltc/prototype/qml2cpppropertyutils.h
@@ -31,6 +31,8 @@
#include <private/qqmljsmetatypes_p.h>
+QT_BEGIN_NAMESPACE
+
inline QString getUnderlyingType(const QQmlJSMetaProperty &p)
{
QString underlyingType = p.type()->internalName();
@@ -64,4 +66,6 @@ struct Qml2CppPropertyData
QString notify;
};
+QT_END_NAMESPACE
+
#endif // QML2CPPPROPERTYUTILS_H