[PyKDE] BUG - disconnect

Phil Thompson phil at river-bank.demon.co.uk
Sun Nov 3 21:15:00 GMT 2002


On Tuesday 29 October 2002 12:46 am, Kaleb Pederson wrote:
> Disconnect doesn't seem to work as expected.
>
> Per the Qt documentation (qobject.html#disconnect) I should be able to
> disconnect signals as follows.
>
> I've tried various methods:
>
>     def sigDiscon(self):
>         self.disconnect() # Test 1
>         #QObject.disconnect(self,0,0,0) # Test 2 - or None,None,None
>         #self.disconnect(PYSIGNAL("fireAway")) # Test 3
>         #self.disconnect(SIGNAL("clicked()")) # Test 4
>         #QObject.disconnect(self,SIGNAL("clicked()")) # Test 5
>         #QObject.disconnect(self,SIGNAL("clicked()"),0) # Test 6 - or None
>         #QObject.disconnect(self,PYSIGNAL("fireAway")) # Test 7
>
> which are all very similar to the documentation examples.  SIP can't seem
> to tell which method really should be called, and None and 0 aren't
> accepted as valid wild cards so I can't really give it the parameters that
> I need.

It just isn't supported. I've updated the TODO list and the documentation.

Phil




More information about the PyQt mailing list