Re: [PyQt] Disconnect SLOT

2007-09-10 Thread Phil Thompson
On Monday 10 September 2007, Kermit wrote: > hi all, > > i try to disconnect a tcpSocket SLOT > > connection in __init__ > self.connect(self.tcpSocket, QtCore.SIGNAL("readyRead()"), > self.readyRead) > > and for disconnect : > > def readyRead(self): > msg= self.tcpSocket.readAll

[PyQt] Disconnect SLOT

2007-09-10 Thread Kermit
hi all, i try to disconnect a tcpSocket SLOT connection in __init__ self.connect(self.tcpSocket, QtCore.SIGNAL("readyRead()"), self.readyRead) and for disconnect : def readyRead(self): msg= self.tcpSocket.readAll() if msg == '200 3.00 Ready\r\n' : self.My