diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-09-18 15:40:45 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-09-23 06:07:08 +0000 |
commit | 3f1096385a004aba1c3dcef8c0a120191b016b2a (patch) | |
tree | 748a05e5c4ba43ab7572690ea5eb70b64fb5f17e /src/plugins/qmllint/quick/quicklintplugin.h | |
parent | c8b481a3f99b8462e04b9bec18794f961b8d3c56 (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.
Change-Id: Icff860c92054ac810c6e15eb26090d38fbc2c965
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit d77693a028ce4c0faffafb612b8f4881d38e99ac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ba9d23d051d08a34318af452d0f78a55d20caad3)
Diffstat (limited to 'src/plugins/qmllint/quick/quicklintplugin.h')
-rw-r--r-- | src/plugins/qmllint/quick/quicklintplugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmllint/quick/quicklintplugin.h b/src/plugins/qmllint/quick/quicklintplugin.h index 6bff7dac9e..bdec509976 100644 --- a/src/plugins/qmllint/quick/quicklintplugin.h +++ b/src/plugins/qmllint/quick/quicklintplugin.h @@ -160,7 +160,7 @@ public: RestrictToControls }; - AttachedPropertyReuse(QQmlSA::PassManager *manager, QQmlJS::LoggerWarningId category) + AttachedPropertyReuse(QQmlSA::PassManager *manager, QQmlSA::LoggerWarningId category) : QQmlSA::PropertyPass(manager), category(category) {} @@ -177,7 +177,7 @@ private: }; QMultiHash<QQmlSA::Element, ElementAndLocation> usedAttachedTypes; - QQmlJS::LoggerWarningId category; + QQmlSA::LoggerWarningId category; }; QT_END_NAMESPACE |