E4Gui/E4SideBar.py

changeset 53
c3eb7cc1ff8b
parent 13
1af94a91f439
diff -r ba69827929ee -r c3eb7cc1ff8b E4Gui/E4SideBar.py
--- a/E4Gui/E4SideBar.py	Tue Jan 12 18:33:34 2010 +0000
+++ b/E4Gui/E4SideBar.py	Tue Jan 12 18:36:05 2010 +0000
@@ -11,7 +11,7 @@
                          QDataStream, QIODevice
 from PyQt4.QtGui import QTabBar, QWidget, QStackedWidget, QBoxLayout, QToolButton
 
-from E4Gui.E4Application import e4App
+from E4Gui.E4Application import e5App
 
 import UI.PixmapCache
 
@@ -78,7 +78,7 @@
         
         self.connect(self.__tabBar, SIGNAL("currentChanged(int)"), 
                      self.__stackedWidget, SLOT("setCurrentIndex(int)"))
-        self.connect(e4App(), SIGNAL("focusChanged(QWidget*, QWidget*)"), 
+        self.connect(e5App(), SIGNAL("focusChanged(QWidget*, QWidget*)"), 
                      self.__appFocusChanged)
         self.connect(self.__autoHideButton, SIGNAL("toggled(bool)"), 
                      self.__autoHideToggled)
@@ -547,4 +547,4 @@
         @param event reference to the event (QEvent)
         """
         if self.__autoHide and not self.__hasFocus and not self.isMinimized():
-            self.shrink()
+            self.shrink()
\ No newline at end of file

eric ide

mercurial