diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-01 11:28:55 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-02 16:51:20 +0200 |
| commit | 7878a88aa638da63b8a2ec2200bbe18882277d21 (patch) | |
| tree | de4028ed85d035f20a3a675e27350672f3d90484 /sources/pyside6/PySide6/support/generate_pyi.py | |
| parent | 9f0eb243cd264ae4f174ba38a1c958f42d338c80 (diff) | |
Return QMetaObject.Connection from QObject.connect()
[ChangeLog][PySide6] QObject.connect() now returns an
instance of QMetaObject.Connection which can be used
to disconnect instead of a bool.
Change the code to return QMetaObject::Connection and add an overload
for Signal.disconnect() taking a connection.
Fixes: PYSIDE-1334
Change-Id: I0413888828b2e82bad49812b4918c1d6a8133c5c
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/PySide6/support/generate_pyi.py')
0 files changed, 0 insertions, 0 deletions
