E4Gui/E4SingleApplication.py

changeset 53
c3eb7cc1ff8b
parent 15
f6ccc31d6e72
--- a/E4Gui/E4SingleApplication.py	Tue Jan 12 18:33:34 2010 +0000
+++ b/E4Gui/E4SingleApplication.py	Tue Jan 12 18:36:05 2010 +0000
@@ -10,7 +10,7 @@
 import sys
 import os
 
-from E4Gui.E4Application import e4App
+from E4Gui.E4Application import e5App
 
 from Utilities.SingleApplication import SingleApplicationClient, SingleApplicationServer
 
@@ -62,7 +62,7 @@
         
         @param fname filename to be opened (string)
         """
-        e4App().getObject("ViewManager").openSourceFile(fname)
+        e5App().getObject("ViewManager").openSourceFile(fname)
         
     def __saOpenProject(self, pfname):
         """
@@ -70,7 +70,7 @@
         
         @param pfname filename of the project to be opened (string)
         """
-        e4App().getObject("Project").openProject(pfname)
+        e5App().getObject("Project").openProject(pfname)
         
     def __saArguments(self, argsStr):
         """
@@ -78,7 +78,7 @@
         
         @param argsStr space delimited list of command args(string)
         """
-        e4App().getObject("DebugUI").setArgvHistory(argsStr)
+        e5App().getObject("DebugUI").setArgvHistory(argsStr)
 
 class E4SingleApplicationClient(SingleApplicationClient):
     """
@@ -161,4 +161,4 @@
         @param argsStr space delimited list of command args (string)
         """
         cmd = "%s%s\n" % (SAArguments, argsStr)
-        self.sendCommand(cmd)
+        self.sendCommand(cmd)
\ No newline at end of file

eric ide

mercurial