aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsloggingutils_p.h
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_p.h
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_p.h')
-rw-r--r--src/qmlcompiler/qqmljsloggingutils_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils_p.h b/src/qmlcompiler/qqmljsloggingutils_p.h
index 0cd3d87e41..11196c13ac 100644
--- a/src/qmlcompiler/qqmljsloggingutils_p.h
+++ b/src/qmlcompiler/qqmljsloggingutils_p.h
@@ -24,6 +24,8 @@ QT_BEGIN_NAMESPACE
namespace QQmlJS {
+using LoggerWarningId = QQmlSA::LoggerWarningId;
+
class LoggerCategoryPrivate;
class Q_QMLCOMPILER_EXPORT LoggerCategory