If the functions you are connecting are in python, you can use PyQt_PyObject
as the type.  That just passes the reference around, and everything works
fine.  I'm not sure about a good solution if you need to handle the type in
C/C++.

Brett

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Detlev Offenbach
Sent: Friday, November 04, 2011 6:23 AM
To: PyQt Mailingliste
Subject: [PyQt] Issue with pyqtSignal

Hello,

I am defining a signal in one of my classes like this.

    tabRelocateRequested = pyqtSignal(int, int, int)

When this signal is emitted, the first parameter is bigger than an int (e.g.
by using id()). This causes the signal receiver to get a first parameter,
that is different to the value given in the emit call. How can I correct my
code (code i within eric4/5).

Regards,
Detlev

Detlev Offenbach
[email protected]



_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to