Am 04.11.2011 um 18:04 schrieb Phil Thompson:

> On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach
> <det...@die-offenbachs.de> wrote:
>> 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).
> 
> Use long instead of int?

Python3 (forgot to mention that) doesn't know about long anymore. Maybe the 
pyqtSignal code should work with long instead of int?

Detlev

> 
> Phil
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Detlev Offenbach
det...@die-offenbachs.de



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to