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

Andreas Pakulat apaku at gmx.de
Sun Jan 28 13:07:59 GMT 2007


On 28.01.07 12:26:17, Ewald de Wit wrote:
> In PyQt4 the error(int) signal from QTcpSocket seems to never fire anymore.
> For example, when trying to connect to a non-existing host, nothing
> happens after calling connectToHost. In PyQt3 this would result in
> an error(int) signal being raised that indicated a 'Connection refused'.

Well, the signature of the error signal changed from Qt3 to Qt4, the
parameter is now a QAbstractSocket::SocketState.

Andreas

-- 
You may worry about your hair-do today, but tomorrow much peanut butter will
be sold.




More information about the PyQt mailing list