aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsloggingutils.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <[email protected]>2023-09-18 15:40:45 +0200
committerFabian Kosmale <[email protected]>2023-09-21 00:07:22 +0200
commitd77693a028ce4c0faffafb612b8f4881d38e99ac (patch)
treede3672a37aa168b1680c0441dc198c96d9c0dcd2 /src/qmlcompiler/qqmljsloggingutils.cpp
parentbc709184afcb8373be6d69309cb53294455d7248 (diff)
QQmlSA: Don't expose QQmlJS namespace
QQmlSA is meant as the public namespace, QQmlJS is (at least currently) completely internal. However, LoggerWarningID currently only existed in QQmlJS. Move it into QQmlSA, add some minimal class documentation and add a typedef in QQmlJS (inside a private header) to avoid the need to modify all users. Pick-to: 6.6.0 6.6 Change-Id: Icff860c92054ac810c6e15eb26090d38fbc2c965 Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/qmlcompiler/qqmljsloggingutils.cpp')
-rw-r--r--src/qmlcompiler/qqmljsloggingutils.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils.cpp b/src/qmlcompiler/qqmljsloggingutils.cpp
index 2ad26cab73..caa2438ae5 100644
--- a/src/qmlcompiler/qqmljsloggingutils.cpp
+++ b/src/qmlcompiler/qqmljsloggingutils.cpp
@@ -123,6 +123,14 @@ LoggerCategoryPrivate *LoggerCategoryPrivate::get(LoggerCategory *loggerCategory
return loggerCategory->d_func();
}
+/*!
+ \class QQmlSA::LoggerWarningId
+ \inmodule QtQmlCompiler
+
+ \brief A wrapper around a string literal to uniquely identify
+ warning categories in the \c{QQmlSA} framework.
+*/
+
} // namespace QQmlJS
QT_END_NAMESPACE