aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsloggingutils.cpp
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2025-02-25 14:28:40 +0100
committerOlivier De Cannière <olivier.decanniere@qt.io>2025-02-28 20:11:31 +0100
commitd08f9c1b785645f2c0e66f95476348cb71cfdc86 (patch)
treea09e0635656865ed643a3f81772ec9925843414c /src/qmlcompiler/qqmljsloggingutils.cpp
parentab72fde37ce25f37411b4b5ed3e2971633a77010 (diff)
Doc: Add more documentation for QQmlSA
Some documentation may not provide a lot of extra information but is there mainly so that the function appears in the final documentation and is discoverable by the user. Fixes: QTBUG-116682 Pick-to: 6.9 6.8 Change-Id: I68e531663a25ea9aaba9dfd4ec0c8b842023f673 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsloggingutils.cpp')
-rw-r--r--src/qmlcompiler/qqmljsloggingutils.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils.cpp b/src/qmlcompiler/qqmljsloggingutils.cpp
index 154fed130d..e265e8c2c3 100644
--- a/src/qmlcompiler/qqmljsloggingutils.cpp
+++ b/src/qmlcompiler/qqmljsloggingutils.cpp
@@ -135,6 +135,16 @@ LoggerCategoryPrivate *LoggerCategoryPrivate::get(LoggerCategory *loggerCategory
warning categories in the \c{QQmlSA} framework.
*/
+/*!
+ \fn constexpr LoggerWarningId::LoggerWarningId(QAnyStringView name)
+ Constructs a LoggerWarningId object with logging catergory name \a name.
+ */
+
+/*!
+ \fn QAnyStringView LoggerWarningId::name() const
+ Returns the name of the wrapped warning category.
+ */
+
namespace LoggingUtils {
QString levelToString(const QQmlJS::LoggerCategory &category)