aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysidestaticstrings.h
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-02-16 15:23:12 +0100
committerChristian Tismer <tismer@stackless.com>2022-02-22 16:07:34 +0100
commit1fbcc4f972c3cc63c22dd01d6e5c7fe3ba7355b6 (patch)
tree46c31dcd8c7f1c8b0ea8d11bdc9647382da48a8c /sources/pyside6/libpyside/pysidestaticstrings.h
parente4c2272dc60e1ff5e2d0933238fe4508af5f7f60 (diff)
__feature__: rework constructor handling of both features
This is a quite complicated patch that tries to do the right thing in all cases with snake_case and true_property. Special is that a property can be a true property that is really turned into a property object, or it can be a pseudo-property which is not a property but should be treated as such. Exhaustive tests for all cases are added. [ChangeLog][PySide6] Properties are now usable in constructors of classes in any combination of snake_case and true_property. Task-number: PYSIDE-1019 Fixes: PYSIDE-1705 Pick-to: 6.2 Change-Id: I1c6b6a24e0bb2e906ecbed225953ac782fed48f7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/libpyside/pysidestaticstrings.h')
-rw-r--r--sources/pyside6/libpyside/pysidestaticstrings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/libpyside/pysidestaticstrings.h b/sources/pyside6/libpyside/pysidestaticstrings.h
index 43544f489..0b89ec7f7 100644
--- a/sources/pyside6/libpyside/pysidestaticstrings.h
+++ b/sources/pyside6/libpyside/pysidestaticstrings.h
@@ -51,6 +51,7 @@ PyObject *qtConnect();
PyObject *qtDisconnect();
PyObject *qtEmit();
PyObject *dict_ring();
+PyObject *fset();
PyObject *im_func();
PyObject *im_self();
PyObject *name();
@@ -63,6 +64,7 @@ namespace PyMagicName
PyObject *code();
PyObject *doc();
PyObject *func();
+PyObject *get();
PyObject *name();
PyObject *property_methods();
} // namespace PyMagicName