aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmltc/prototype/qml2cpppropertyutils.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-02-28 15:28:34 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2022-03-08 18:35:19 +0100
commit3c680af4e9164b81548c1c633f3c0a2f0583aea4 (patch)
tree9dcb497af48f33ee11acb7ac9ab4c9550b78dce8 /tools/qmltc/prototype/qml2cpppropertyutils.h
parentabee06cbabcd8df286d5c1d5d0079e3ece9e310a (diff)
Remove qmltc prototype code (1/N)
- Wrap prototype code into Qt namespace - Move inline component logic from prototype/visitor to qmltcvisitor and erase (for now) property method setting (in favor of the prototype logic which is more advanced) - Move prototype/typeresolver.cpp into qmltctyperesolver.cpp - Delete (now useless) prototype/{visitor, typeresolver} - Start cleaning up prototype/qmlcompiler.h - Adjust prototype/codegenerator accordingly Change-Id: If49d6aa8bb97093b273915caa356278ca9bbdfe1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
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