diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-13 08:56:09 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-13 11:11:34 +0200 |
| commit | a89915c271c9da86fc0e9ba89552c1678449d6c4 (patch) | |
| tree | 1846f9f2db9713e6a1775421925afb7f91eee7f9 /sources/pyside6/libpyside/pysidesignal.cpp | |
| parent | 7ac7e8f34750202948117a2a3bd716b7ceef43f7 (diff) | |
Remove SbkObjectType from the API
Leave only a deprecated typedef.
Complements a4311711eb89e3f9833a05edf3debdf7563a104f.
Task-number: PYSIDE-535
Change-Id: Icab9e82e7bff99363c01e471db1c84ee8d6c0b6b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/libpyside/pysidesignal.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/pysidesignal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/libpyside/pysidesignal.cpp b/sources/pyside6/libpyside/pysidesignal.cpp index 3a3b52c2a..c565ca99a 100644 --- a/sources/pyside6/libpyside/pysidesignal.cpp +++ b/sources/pyside6/libpyside/pysidesignal.cpp @@ -777,7 +777,7 @@ QByteArray getTypeName(PyObject *type) if (PyType_Check(type)) { if (PyType_IsSubtype(reinterpret_cast<PyTypeObject *>(type), reinterpret_cast<PyTypeObject *>(SbkObject_TypeF()))) { - auto objType = reinterpret_cast<SbkObjectType *>(type); + auto objType = reinterpret_cast<PyTypeObject *>(type); return Shiboken::ObjectType::getOriginalName(objType); } // Translate python types to Qt names @@ -940,7 +940,7 @@ static typename T::value_type join(T t, const char *sep) return res; } -static void _addSignalToWrapper(SbkObjectType *wrapperType, const char *signalName, PySideSignal *signal) +static void _addSignalToWrapper(PyTypeObject *wrapperType, const char *signalName, PySideSignal *signal) { auto typeDict = wrapperType->tp_dict; PyObject *homonymousMethod; @@ -963,7 +963,7 @@ static PyObject *buildQtCompatible(const QByteArray &signature) return Shiboken::String::fromStringAndSize(ba, ba.size()); } -void registerSignals(SbkObjectType *pyObj, const QMetaObject *metaObject) +void registerSignals(PyTypeObject *pyObj, const QMetaObject *metaObject) { using SignalSigMap = QHash<QByteArray, QList<SignalSignature> >; SignalSigMap signalsFound; |
