diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-10 11:31:54 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-10 15:47:22 +0000 |
commit | c5339728e495b76eaae95534929ef0580e32d39b (patch) | |
tree | ba52166ac5dbd4c8f7ba9c55f0d3880b1cd33725 /sources | |
parent | 273e7c5f4e73628494345b1c664508d3afe97ba3 (diff) |
shiboken6: Mention add-conversion for conversion rules
Amends 4972d8cf6ea55884e501c452f32f558ad24240ae.
Change-Id: I09a98e37646bb207239fc249e0a45812d3968dab
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 2701e617906bc2c00d03cb48bbb8ba319d5e389d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/shiboken6/doc/typesystem_conversionrule.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/shiboken6/doc/typesystem_conversionrule.rst b/sources/shiboken6/doc/typesystem_conversionrule.rst index 430c4e4b3..fc87a85c9 100644 --- a/sources/shiboken6/doc/typesystem_conversionrule.rst +++ b/sources/shiboken6/doc/typesystem_conversionrule.rst @@ -32,8 +32,9 @@ conversion-rule </conversion-rule> </value-type> - The code can be inserted directly or via ``insert-template`` (see - :ref:`using-code-templates`). + The code can be inserted directly, via ``add-conversion`` (providing snippet + functionality) or via ``insert-template`` (XML template, + see :ref:`using-code-templates`). The example above show the structure of a complete conversion rule. Each of the child tags comprising the conversion rule are described in their own sections |