Debugger/DebuggerInterfacePython.py

changeset 465
c20e25deb33a
parent 406
eacf81fad150
child 481
ad71812ba395
--- a/Debugger/DebuggerInterfacePython.py	Mon Aug 09 15:36:47 2010 +0200
+++ b/Debugger/DebuggerInterfacePython.py	Mon Aug 09 15:49:03 2010 +0200
@@ -353,8 +353,8 @@
         if self.qsock is not None:
             return False
         
-        self.connect(sock, SIGNAL('disconnected()'), self.debugServer.startClient)
-        self.connect(sock, SIGNAL('readyRead()'), self.__parseClientLine)
+        sock.disconnected[()].connect(self.debugServer.startClient)
+        sock.readyRead[()].connect(self.__parseClientLine)
         
         self.qsock = sock
         
@@ -385,7 +385,7 @@
         # do not want any slots called during shutdown
         self.disconnect(self.qsock, SIGNAL('disconnected()'), 
             self.debugServer.startClient)
-        self.disconnect(self.qsock, SIGNAL('readyRead()'), self.__parseClientLine)
+        self.qsock.readyRead[()].disconnect(self.__parseClientLine)
         
         # close down socket, and shut down client as well.
         self.__sendCommand('{0}\n'.format(RequestShutdown))
@@ -945,4 +945,4 @@
         if self.qsock is not None:
             self.qsock.write(cmd.encode('utf8'))
         else:
-            self.queue.append(cmd)
+            self.queue.append(cmd)
\ No newline at end of file

eric ide

mercurial