Helpviewer/Bookmarks/BookmarksToolBar.py

changeset 55
b5c84934de9c
parent 13
1af94a91f439
child 96
9624a110667d
--- a/Helpviewer/Bookmarks/BookmarksToolBar.py	Tue Jan 12 18:39:15 2010 +0000
+++ b/Helpviewer/Bookmarks/BookmarksToolBar.py	Wed Jan 13 18:53:58 2010 +0000
@@ -10,7 +10,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E4Gui.E4ModelToolBar import E4ModelToolBar
+from E5Gui.E5ModelToolBar import E5ModelToolBar
 
 import Helpviewer.HelpWindow
 
@@ -21,7 +21,7 @@
 
 import UI.PixmapCache
 
-class BookmarksToolBar(E4ModelToolBar):
+class BookmarksToolBar(E5ModelToolBar):
     """
     Class implementing a tool bar showing bookmarks.
     
@@ -36,7 +36,7 @@
         @param model reference to the bookmarks model (BookmarksModel)
         @param parent reference to the parent widget (QWidget)
         """
-        E4ModelToolBar.__init__(self, 
+        E5ModelToolBar.__init__(self, 
             QApplication.translate("BookmarksToolBar", "Bookmarks"), parent)
         
         self.__bookmarksModel = model
@@ -170,11 +170,11 @@
         """
         Protected method to create the menu for a tool bar action.
         
-        @return menu for a tool bar action (E4ModelMenu)
+        @return menu for a tool bar action (E5ModelMenu)
         """
         menu = BookmarksMenu(self)
         self.connect(menu, SIGNAL("openUrl(const QUrl&, const QString&)"), 
                      self, SIGNAL("openUrl(const QUrl&, const QString&)"))
         self.connect(menu, SIGNAL("newUrl(const QUrl&, const QString&)"), 
                      self, SIGNAL("newUrl(const QUrl&, const QString&)"))
-        return menu
+        return menu
\ No newline at end of file

eric ide

mercurial