QObject::disconnect(const QMetaObject::Connection &connection)

Maxime Lemonnier <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAK_=Pd2yk=qWTE=HcCLq3pg7qezy9VVts-k11fVn1TTjt-5q+w@mail.gmail.com>
Hi,

I'm trying to use https://doc.qt.io/qt-5/qobject.html#disconnect-4

to disconnect connections in a generic way (without keeping track of the
actual QObject, signals and slots involved). In C++ I would
store QMetaObject::Connection instances retruned by the connection methods.
In PyQt5, I have the QMetaObject.Connection in hand, but I can't
find QObject::disconnect(const QMetaObject::Connection &connection).

Is there a way do achieve what I want?

PyQt5==5.12.2
PyQt5-sip==4.19.17


Thanks!
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.