[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QObject::disconnect(const QMetaObject::Connection &connection)
From:       Maxime Lemonnier <maxime.lemonnier () gmail ! com>
Date:       2019-07-17 13:12:13
Message-ID: CAK_=Pd2Vim2w81cYPnebV0pdUr9AMp133GQrmSBV3DCwnKJLJQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you very much!

On Wed, Jul 17, 2019 at 6:30 AM Phil Thompson <phil@riverbankcomputing.com>
wrote:

> On 15/07/2019 18:35, Maxime Lemonnier wrote:
> > 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?
>
> I think it just got forgotten when support for QMetaObject.Connection
> was added. It will be in tonight's snapshot - but untested.
>
> Phil
>

[Attachment #5 (text/html)]

<div dir="ltr">Thank you very much!</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Wed, Jul 17, 2019 at 6:30 AM Phil Thompson &lt;<a \
href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/07/2019 18:35, \
Maxime Lemonnier wrote:<br> &gt; Hi,<br>
&gt; <br>
&gt; I&#39;m trying to use <a href="https://doc.qt.io/qt-5/qobject.html#disconnect-4" \
rel="noreferrer" target="_blank">https://doc.qt.io/qt-5/qobject.html#disconnect-4</a><br>
 &gt; <br>
&gt; to disconnect connections in a generic way (without keeping track of <br>
&gt; the<br>
&gt; actual QObject, signals and slots involved). In C++ I would<br>
&gt; store QMetaObject::Connection instances retruned by the connection <br>
&gt; methods.<br>
&gt; In PyQt5, I have the QMetaObject.Connection in hand, but I can&#39;t<br>
&gt; find QObject::disconnect(const QMetaObject::Connection &amp;connection).<br>
&gt; <br>
&gt; Is there a way do achieve what I want?<br>
<br>
I think it just got forgotten when support for QMetaObject.Connection <br>
was added. It will be in tonight&#39;s snapshot - but untested.<br>
<br>
Phil<br>
</blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic