Debugger/DebuggerInterfaceRuby.py

changeset 537
72b32daeb8d6
parent 482
4650a72c307a
child 564
b3d966393ba9
--- a/Debugger/DebuggerInterfaceRuby.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/Debugger/DebuggerInterfaceRuby.py	Tue Aug 31 12:17:02 2010 +0200
@@ -10,9 +10,9 @@
 import os
 
 from PyQt4.QtCore import *
-from PyQt4.QtGui import QMessageBox
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from .DebugProtocol import *
 from . import DebugClientCapabilities
@@ -158,7 +158,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -203,7 +203,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -213,7 +213,7 @@
             [debugClient, str(port), redirect, ipaddr], 
             clientEnv)
         if process is None:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8("""<p>The debugger backend could not be started.</p>"""))
         return process, self.__isNetworked
@@ -251,7 +251,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -294,7 +294,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -304,7 +304,7 @@
             [debugClient, str(port), redirect, ipaddr], 
             clientEnv)
         if process is None:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8("""<p>The debugger backend could not be started.</p>"""))
         return process, self.__isNetworked

eric ide

mercurial