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

List:       pykde
Subject:    Re: [PyKDE] Qobject.disconnect
From:       Jonathan Gardner <jgardn () alumni ! washington ! edu>
Date:       2001-12-17 14:53:38
[Download RAW message or body]

On Monday 17 December 2001 12:02 am, Phil Thompson wrote:
> Jonathan Gardner wrote:
> >         QObject.disconnect(self._bm, PYSIGNAL('calc_weight()'), self,
> > self.populate_walk)
> > TypeError: Argument 4 of QObject.disconnect() has an invalid type
> >
> > The question is this: Is disconnect implemented? If so, how does one use
> > it?
>
> Disconnect is implemented - but not the full Qt functionality, only the
> disconnect of a single signal. Send me a simple test program that
> demonstrates any bugs you think might be there.
>
> Phil
>

I think the problem is that I should have called:

self.disconnect(self._bm, PYSIGNAL('calc_weight()'), self.populate_walk)

I did it that way and it works. 

Jonathan


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

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