diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-05-05 15:16:46 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-05-09 06:53:52 +0200 |
commit | 7cd0aee8e7b7d49ace2e28f204ea469bc9e60271 (patch) | |
tree | 722d6e9107090bb8479124b14a80e4017744209c | |
parent | e9cc9edec946d010e1c68c8f1949e274550c5e80 (diff) |
shiboken6/Documentation: Fix wrong code snippets
The snippets for the method call are flipped.
Pick-to: 6.9 6.8
Change-Id: I8b571c51d6d82391f4bcfca45fd3f9892bfb688a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
-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 b5c146523..e50a4ca7c 100644 --- a/sources/shiboken6/doc/typesystem_codeinjection.rst +++ b/sources/shiboken6/doc/typesystem_codeinjection.rst @@ -177,7 +177,7 @@ In other words, use .. code-block:: xml <inject-code class="target" position="beginning | end"> - %CPPSELF.originalMethodName(); + %CPPSELF.%FUNCTION_NAME(); </inject-code> @@ -187,7 +187,7 @@ instead of .. code-block:: xml <inject-code class="target" position="beginning | end"> - %CPPSELF.%FUNCTION_NAME(); + %CPPSELF.originalMethodName(); </inject-code> |