diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-02-14 18:28:13 +0100 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-02-15 08:30:26 +0100 |
| commit | 89ea1b0b6579bb71be0fb4fab1ab36d116fcec78 (patch) | |
| tree | 9a9c5e236dc6a467c274764347150209abc18985 /examples/declarative/referenceexamples | |
| parent | 5f3bac60f83f06b9d8833600ddb527ea09db7e0f (diff) | |
__feature__: Do the renaming also in the hidden methods
It has taken quite a while until it was understood
why mistyped (un-renamed) methods are still found
when using `snake_case`. It is a very old patch
that searches hidden objects via the QMetaObject
when normal attribute retrieval fails.
This implementation is used all the time, but it is
easily overlooked because most generated wrapper
objects use this implementation from QObjectWrapper
by inheritance, and is not found in the source code.
Renaming these hidden methods the same way as the
normal methods are renamed solves this problem.
As a side effect, the solution to PYSIDE-1765 becomes
more complete, too, since these hidden attributes
were really missing.
[ChangeLog][PySide6] The snake_case feature is now
more complete since it renames hidden methods, too.
Change-Id: I8614314e417a40549ef09f3105a03f22cb575bab
Fixes: PYSIDE-1753
Task-number: PYSIDE-1765
Pick-to: 6.2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/declarative/referenceexamples')
0 files changed, 0 insertions, 0 deletions
