Project/ProjectResourcesBrowser.py

changeset 53
c3eb7cc1ff8b
parent 45
9a18f4dbb493
child 55
b5c84934de9c
diff -r ba69827929ee -r c3eb7cc1ff8b Project/ProjectResourcesBrowser.py
--- a/Project/ProjectResourcesBrowser.py	Tue Jan 12 18:33:34 2010 +0000
+++ b/Project/ProjectResourcesBrowser.py	Tue Jan 12 18:36:05 2010 +0000
@@ -14,7 +14,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E4Gui.E4Application import e4App
+from E4Gui.E4Application import e5App
 
 from .ProjectBrowserModel import ProjectBrowserFileItem, \
     ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \
@@ -506,7 +506,7 @@
         @param exitStatus exit status of the process (QProcess.ExitStatus)
         """
         self.compileRunning = False
-        e4App().getObject("ViewManager").enableEditorsCheckFocusIn(True)
+        e5App().getObject("ViewManager").enableEditorsCheckFocusIn(True)
         if exitStatus == QProcess.NormalExit and exitCode == 0 and self.buf:
             ofn = os.path.join(self.project.ppath, self.compiledFile)
             try:
@@ -599,7 +599,7 @@
         procStarted = self.compileProc.waitForStarted()
         if procStarted:
             self.compileRunning = True
-            e4App().getObject("ViewManager").enableEditorsCheckFocusIn(False)
+            e5App().getObject("ViewManager").enableEditorsCheckFocusIn(False)
             return self.compileProc
         else:
             self.compileRunning = False
@@ -815,4 +815,4 @@
             "compileChangedResources"   : None, 
             "compileSelectedResources"  : None, 
             "newResource"               : None, 
-        }
+        }
\ No newline at end of file

eric ide

mercurial