Helpviewer/QtHelpDocumentationDialog.py

changeset 539
87f9bce38a44
parent 538
7f1a56e80124
child 541
00e1a5d060c5
diff -r 7f1a56e80124 -r 87f9bce38a44 Helpviewer/QtHelpDocumentationDialog.py
--- a/Helpviewer/QtHelpDocumentationDialog.py	Tue Aug 31 12:36:10 2010 +0200
+++ b/Helpviewer/QtHelpDocumentationDialog.py	Tue Aug 31 13:23:27 2010 +0200
@@ -64,7 +64,7 @@
         for fileName in fileNames:
             ns = QHelpEngineCore.namespaceName(fileName)
             if not ns:
-                QMessageBox.warning(self,
+                E5MessageBox.warning(self,
                     self.trUtf8("Add Documentation"),
                     self.trUtf8("""The file <b>{0}</b> is not a valid Qt Help File.""")\
                         .format(fileName)
@@ -72,7 +72,7 @@
                 continue
             
             if len(self.documentsList.findItems(ns, Qt.MatchFixedString)):
-                QMessageBox.warning(self,
+                E5MessageBox.warning(self,
                     self.trUtf8("Add Documentation"),
                     self.trUtf8("""The namespace <b>{0}</b> is already registered.""")\
                         .format(ns)
@@ -107,7 +107,7 @@
         for item in items:
             ns = item.text()
             if ns in list(openedDocs.values()):
-                res = QMessageBox.warning(self,
+                res = E5MessageBox.warning(self,
                     self.trUtf8("Remove Documentation"),
                     self.trUtf8("""Some documents currently opened reference the """
                                 """documentation you are attempting to remove. """

eric ide

mercurial