diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/WebBrowser/History/HistoryMenu.py --- a/eric7/WebBrowser/History/HistoryMenu.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/WebBrowser/History/HistoryMenu.py Sat May 22 18:51:46 2021 +0200 @@ -16,8 +16,8 @@ ) from PyQt6.QtWidgets import QMenu -from E5Gui.E5ModelMenu import E5ModelMenu -from E5Gui import E5MessageBox +from E5Gui.EricModelMenu import EricModelMenu +from E5Gui import EricMessageBox from .HistoryModel import HistoryModel @@ -270,7 +270,7 @@ return frequency_R < frequency_L -class HistoryMenu(E5ModelMenu): +class HistoryMenu(EricModelMenu): """ Class implementing the history menu. @@ -296,7 +296,7 @@ @param tabWidget reference to the tab widget managing the browser tabs (HelpTabWidget """ - E5ModelMenu.__init__(self, parent) + EricModelMenu.__init__(self, parent) self.__tabWidget = tabWidget self.__mw = parent @@ -416,7 +416,7 @@ """ Private slot to clear the history. """ - if self.__historyManager is not None and E5MessageBox.yesNo( + if self.__historyManager is not None and EricMessageBox.yesNo( self, self.tr("Clear History"), self.tr("""Do you want to clear the history?""")): @@ -463,7 +463,7 @@ self.__closedTabsMenu.setEnabled(avail) -class HistoryMostVisitedMenu(E5ModelMenu): +class HistoryMostVisitedMenu(EricModelMenu): """ Class implementing the most visited history menu. @@ -488,7 +488,7 @@ @param count maximum number of entries to be shown (integer) @param parent reference to the parent widget (QWidget) """ - E5ModelMenu.__init__(self, parent) + EricModelMenu.__init__(self, parent) self.__historyMenuModel = None