diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-02 14:33:08 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-05 14:59:20 +0200 |
commit | 6bb5a51a9d70347f50c89919613a958c1a524ab5 (patch) | |
tree | 433a09406ccb2ea682a28a8f9ab75d7402e7fb9c /src/qmlcompiler/qqmljsscope.cpp | |
parent | 770aa2aa73303063e21ae2053ce1b37a0673344e (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/qqmljsscope.cpp')
-rw-r--r-- | src/qmlcompiler/qqmljsscope.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsscope.cpp b/src/qmlcompiler/qqmljsscope.cpp index 6f02070b71..8087880f66 100644 --- a/src/qmlcompiler/qqmljsscope.cpp +++ b/src/qmlcompiler/qqmljsscope.cpp @@ -33,6 +33,8 @@ #include <algorithm> +QT_BEGIN_NAMESPACE + QQmlJSScope::QQmlJSScope(ScopeType type, const QQmlJSScope::Ptr &parentScope) : m_parentScope(parentScope), m_scopeType(type) {} @@ -179,3 +181,5 @@ bool QQmlJSScope::Export::isValid() const { return m_version.isValid() || !m_package.isEmpty() || !m_type.isEmpty(); } + +QT_END_NAMESPACE |