aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-03-25 14:49:47 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-03-25 15:58:40 +0000
commit9432862e90bc39c1478a9dd6320201a05a5790cc (patch)
tree84c3946da73f44b088f91f67488ba789295e4b1c /sources/shiboken2/ApiExtractor
parent2d6b78ea3307b0193858d44863f41b1e40645a2f (diff)
shiboken/Documentation: Move brief to top of class documentation
Extract the <brief> element from the WebXML class description and place it at the top with an internal reference (More...) to the detailed description. For this purpose, extend QtXmlToSphinx by a <rst> element to be able to pass through rst elements as is, which might come in handy for other purposes as well. Change-Id: I8e3fd9e3ead99b205afdd5f4be948c0d34336a94 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor')
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetalang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.h b/sources/shiboken2/ApiExtractor/abstractmetalang.h
index 9d36706ac..0c652a39a 100644
--- a/sources/shiboken2/ApiExtractor/abstractmetalang.h
+++ b/sources/shiboken2/ApiExtractor/abstractmetalang.h
@@ -95,6 +95,8 @@ public:
return m_format;
}
+ void setFormat(Format f) { m_format = f; }
+
private:
QString m_data;
Format m_format = Documentation::Native;