diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-20 13:51:08 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-21 13:03:11 +0200 |
commit | e70fbd8d91af1fa9813bc1df7dfad44b1665957e (patch) | |
tree | 459fdff3bb60d2405bd5d0a02292a44b358689d7 /examples/declarative/editingmodel/main.py | |
parent | c0beb9f29f36ea3bc8be26675a05253cc5584fe4 (diff) |
shiboken6: Implement opaque containers for getters returning a const reference
Add a bool m_const member to the container helper template that
indicates a const container. Error out of the modification functions
if that is set. Create an additional creation function for the const
case. A const opaque containers is then of same Python type as the
non-const version, requiring no further type checks.
Pick-to: 6.2
Task-number: PYSIDE-1605
Change-Id: I45faeb0d68e6144a9dfbe25497694b8acdd98c09
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/declarative/editingmodel/main.py')
0 files changed, 0 insertions, 0 deletions