diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-05-05 15:16:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2025-05-09 06:40:13 +0000 |
commit | 72fea18672521c0aed11cadb88fac538d9da46bb (patch) | |
tree | 10614abdcc14f938b2edf14ef8728ccd11999fde | |
parent | a0191b2a59301dc65cd44261faee7bbab0f115c3 (diff) |
shiboken6/Documentation: Fix wrong code snippets6.9
The snippets for the method call are flipped.
Pick-to: 6.8
Change-Id: I8b571c51d6d82391f4bcfca45fd3f9892bfb688a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
(cherry picked from commit 7cd0aee8e7b7d49ace2e28f204ea469bc9e60271)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/shiboken6/doc/typesystem_codeinjection.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/doc/typesystem_codeinjection.rst b/sources/shiboken6/doc/typesystem_codeinjection.rst index 03d5f4b16..0e047f38f 100644 --- a/sources/shiboken6/doc/typesystem_codeinjection.rst +++ b/sources/shiboken6/doc/typesystem_codeinjection.rst @@ -174,7 +174,7 @@ In other words, use .. code-block:: xml <inject-code class="target" position="beginning | end"> - %CPPSELF.originalMethodName(); + %CPPSELF.%FUNCTION_NAME(); </inject-code> @@ -184,7 +184,7 @@ instead of .. code-block:: xml <inject-code class="target" position="beginning | end"> - %CPPSELF.%FUNCTION_NAME(); + %CPPSELF.originalMethodName(); </inject-code> |