aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysideproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/libpyside/pysideproperty.cpp')
-rw-r--r--sources/pyside6/libpyside/pysideproperty.cpp22
1 files changed, 13 insertions, 9 deletions
diff --git a/sources/pyside6/libpyside/pysideproperty.cpp b/sources/pyside6/libpyside/pysideproperty.cpp
index 6ba76200a..bbc289231 100644
--- a/sources/pyside6/libpyside/pysideproperty.cpp
+++ b/sources/pyside6/libpyside/pysideproperty.cpp
@@ -470,16 +470,20 @@ static PyObject *getFromType(PyTypeObject *type, PyObject *name)
namespace PySide::Property {
static const char *Property_SignatureStrings[] = {
- "PySide6.QtCore.Property(self,type:type,fget:typing.Callable=None,fset:typing.Callable=None,"
- "freset:typing.Callable=None,fdel:typing.Callable=None,doc:str=None,"
- "notify:typing.Callable=None,designable:bool=True,scriptable:bool=True,"
+ "PySide6.QtCore.Property(self,type:type,"
+ "fget:typing.Optional[typing.Callable[[typing.Any],typing.Any]],"
+ "fset:typing.Optional[typing.Callable[[typing.Any,typing.Any],None]],"
+ "freset:typing.Optional[typing.Callable[[typing.Any,typing.Any],None]],"
+ "doc:str=None,"
+ "notify:typing.Optional[typing.Callable[[],None]],"
+ "designable:bool=True,scriptable:bool=True,"
"stored:bool=True,user:bool=False,constant:bool=False,final:bool=False)",
- "PySide6.QtCore.Property.deleter(self,fdel:typing.Callable)->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.getter(self,fget:typing.Callable)->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.read(self,fget:typing.Callable)->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.setter(self,fset:typing.Callable)->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.write(self,fset:typing.Callable)->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.__call__(self, func:typing.Callable)->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.deleter(self,fdel:typing.Callable[[typing.Any],None])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.getter(self,fget:typing.Callable[[typing.Any],typing.Any])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.read(self,fget:typing.Callable[[typing.Any],typing.Any])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.setter(self,fset:typing.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.write(self,fset:typing.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.__call__(self, func:typing.Callable[...,typing.Any])->PySide6.QtCore.Property",
nullptr}; // Sentinel
void init(PyObject *module)