[PyKDE] Binding special connect functions

Aurélien Gâteau aurelien at dental-on-line.fr
Mon Oct 27 11:52:00 GMT 2003

Le Lundi 27 Octobre 2003 10:53, Phil Thompson a écrit :
> > It seems the emitted signal does not contain my "int" parameter.
> >
> > What's the way to bind this kind of code?
> Put the parameter types in the SIP_SLOT_CON()...
> void connectVolumeChanged(SIP_RXOBJ_CON,SIP_SLOT_CON(int));
> See QMovie.connectResize() for an example.

I just tried it. The SIP file compiles correctly, but whenever I call the 
connect method, I get this new error:
RuntimeError: Signal has wrong argument types for slot

How do I convince Python that my slot is using the correct argument types?


More information about the PyQt mailing list