eric7/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
--- a/eric7/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py	Sat May 22 18:51:46 2021 +0200
@@ -14,7 +14,7 @@
 from PyQt6.QtCore import pyqtSlot, Qt
 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem
 
-from E5Gui import E5MessageBox
+from E5Gui import EricMessageBox
 
 from .Ui_QtHelpDocumentationSelectionDialog import (
     Ui_QtHelpDocumentationSelectionDialog
@@ -86,7 +86,7 @@
         """
         Private slot to delete the selected documentation sets.
         """
-        yes = E5MessageBox.yesNo(
+        yes = EricMessageBox.yesNo(
             self,
             self.tr("Delete Documentation Sets"),
             self.tr("""Shall the selected documentation sets really be"""
@@ -102,7 +102,7 @@
                 try:
                     os.remove(fileName)
                 except OSError as err:
-                    E5MessageBox.warning(
+                    EricMessageBox.warning(
                         self,
                         self.tr("Delete Documentation Sets"),
                         self.tr("""<p>The documentation set <b>{0}</b> could"""
@@ -121,7 +121,7 @@
         """
         Private slot to delete the selected documentation set categories.
         """
-        yes = E5MessageBox.yesNo(
+        yes = EricMessageBox.yesNo(
             self,
             self.tr("Delete Documentation Sets"),
             self.tr("""Shall the selected documentation set categories"""
@@ -139,7 +139,7 @@
         """
         Private slot to delete all documentation sets.
         """
-        yes = E5MessageBox.yesNo(
+        yes = EricMessageBox.yesNo(
             self,
             self.tr("Delete Documentation Sets"),
             self.tr("""Shall all documentation sets really be deleted?"""))

eric ide

mercurial