aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljstypereader.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-02 14:33:08 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-05 14:59:20 +0200
commit6bb5a51a9d70347f50c89919613a958c1a524ab5 (patch)
tree433a09406ccb2ea682a28a8f9ab75d7402e7fb9c /src/qmlcompiler/qqmljstypereader.cpp
parent770aa2aa73303063e21ae2053ce1b37a0673344e (diff)
QmlCompiler: Wrap into Qt namespace
As a Qt module, QmlCompiler's classes should live in the Qt namespace. Change-Id: I3138812c288979fe7cff316dd9b63213bd6dfd05 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljstypereader.cpp')
-rw-r--r--src/qmlcompiler/qqmljstypereader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljstypereader.cpp b/src/qmlcompiler/qqmljstypereader.cpp
index 5f95babb9b..0974e16050 100644
--- a/src/qmlcompiler/qqmljstypereader.cpp
+++ b/src/qmlcompiler/qqmljstypereader.cpp
@@ -38,6 +38,8 @@
#include <QtCore/qfileinfo.h>
#include <QtCore/qdebug.h>
+QT_BEGIN_NAMESPACE
+
static QList<QQmlJSTypeReader::Import> parseHeaders(QQmlJS::AST::UiHeaderItemList *header)
{
using namespace QQmlJS::AST;
@@ -134,3 +136,5 @@ QQmlJSScope::Ptr QQmlJSTypeReader::operator()()
// TODO: Anything special to do with ES modules here?
return parseProgram(QQmlJS::AST::cast<QQmlJS::AST::Program *>(parser.rootNode()), scopeName);
}
+
+QT_END_NAMESPACE