aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/doxygenparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-12-09 16:47:23 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-12-09 23:15:24 +0100
commit2d726d1be178070d1004fd56822dfad2395c0380 (patch)
tree18573254d82cd5f4dc8938b3deef655132082f87 /sources/shiboken6/ApiExtractor/doxygenparser.cpp
parent5cd44e96cee2e8fc105372b5234b0682a7bcc012 (diff)
shiboken6/Documentation: Fix abuse of the TypeSystem::Language enum in DocModification
DocModification only used 2 values from TypeSystem::Language (native/target), which match the native/target values of enum Documentation::Format. Move the enumerations from class Documentation to a global header and use them in DocModification for consistency. Pick-to: 6.8 Change-Id: I154f2208b4d834fed569555ef4c0579502bb32f7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/doxygenparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/doxygenparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken6/ApiExtractor/doxygenparser.cpp b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
index 62fa119b0..0219ef4bc 100644
--- a/sources/shiboken6/ApiExtractor/doxygenparser.cpp
+++ b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
@@ -80,9 +80,9 @@ QString DoxygenParser::fillDocumentation(const AbstractMetaClassPtr &metaClass)
return {};
}
- static const QList<std::pair<Documentation::Type, QString>> docTags = {
- { Documentation::Brief, u"briefdescription"_s },
- { Documentation::Detailed, u"detaileddescription"_s }
+ static const QList<std::pair<DocumentationType, QString>> docTags = {
+ { DocumentationType::Brief, u"briefdescription"_s },
+ { DocumentationType::Detailed, u"detaileddescription"_s }
};
// Get class documentation
Documentation classDoc;