[PyKDE] problem with custom signals

Phil Thompson phil at riverbankcomputing.co.uk
Wed Mar 8 09:35:38 GMT 2006


On Wednesday 08 March 2006 8:08 am, Emanuele Santos wrote:
> Hi, Phil
>
> I'm using the latest version of PyQt4 (20060306) and when I try something
> like:
>
> self.emit(QtCore.SIGNAL("mySignal(PyObject *)", myObject)
>
> I get a type error, but if I use the short-circuited version
>
> self.emit(QtCore.SIGNAL("mySignal"), myObject)
>
> it works fine.
>
> In your e-mail (couple weeks ago) I thought both ways were supposed to
> work, am I correct?

Yes, it's a bug. Will be fixed in tonight's SIP snapshot.

Thanks,
Phil




More information about the PyQt mailing list