diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-01-27 14:38:43 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-09 07:34:13 +0100 |
| commit | 383e0bfc56e39d5f097e7957f986eb60e8052831 (patch) | |
| tree | b4ebc641285fce121ec471ba5fa4dd6783f701bd /sources/pyside6/libpysideqml/pysideqml.cpp | |
| parent | c69b51fc296e484c30582d5d2fdaf40619cc43fe (diff) | |
libpyside: Factor out helpers for class decorators with parameters
Class decorators with parameters (as opposed to parameterless
decorators which are simple functions) requires Python types
with call operators to be registered.
Add Decorator C struct with a pointer to a class derived from
DecoratorPrivate that has virtual functions for the
tp_init()/tp_call() functions.
Provide templates that help to create the slot arrays for the type
registration.
Provide predefined types for decorators with string/type parameters.
Task-number: PYSIDE-1709
Change-Id: I2946b4505c01b49532af534adcedff7a51634929
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/libpysideqml/pysideqml.cpp')
0 files changed, 0 insertions, 0 deletions
