Project/ProjectInterfacesBrowser.py

changeset 464
a2b1d1770ef0
parent 461
34528aaedf1c
child 470
99d8c50ba42f
--- a/Project/ProjectInterfacesBrowser.py	Mon Aug 09 08:41:03 2010 +0200
+++ b/Project/ProjectInterfacesBrowser.py	Mon Aug 09 15:36:47 2010 +0200
@@ -475,12 +475,9 @@
         args.append("-C{0}".format(os.path.dirname(fn)))
         args.append(fn)
         
-        self.connect(self.compileProc, SIGNAL('finished(int, QProcess::ExitStatus)'), 
-            self.__compileIDLDone)
-        self.connect(self.compileProc, SIGNAL('readyReadStandardOutput()'), 
-            self.__readStdout)
-        self.connect(self.compileProc, SIGNAL('readyReadStandardError()'), 
-            self.__readStderr)
+        self.compileProc.finished.connect(self.__compileIDLDone)
+        self.compileProc.readyReadStandardOutput.connect(self.__readStdout)
+        self.compileProc.readyReadStandardOutput.connect(self.__readStderr)
         
         self.noDialog = noDialog
         self.compileProc.start(self.omniidl, args)
@@ -574,4 +571,4 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("corbaPage")
+        e5App().getObject("UserInterface").showPreferences("corbaPage")
\ No newline at end of file

eric ide

mercurial