[PyKDE] error(int) signal from QTcpSocket not firing

Phil Thompson phil at riverbankcomputing.co.uk
Mon Jan 29 19:43:12 GMT 2007


On Monday 29 January 2007 7:16 pm, Ewald de Wit wrote:
> On Sunday 28 January 2007 14:07, Andreas Pakulat wrote:
> > Well, the signature of the error signal changed from Qt3 to Qt4, the
> > parameter is now a QAbstractSocket::SocketState.
>
> The C++ signature of the signal is
> void error ( QAbstractSocket::SocketError )
> which would translate to error(int) in PyQt, right?

Wrong - and anyway you've still got to give C++ the right signature.

Phil




More information about the PyQt mailing list