Helpviewer/QtHelpDocumentationDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d Helpviewer/QtHelpDocumentationDialog.py
--- a/Helpviewer/QtHelpDocumentationDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Helpviewer/QtHelpDocumentationDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -68,7 +68,8 @@
         for fileName in fileNames:
             ns = QHelpEngineCore.namespaceName(fileName)
             if not ns:
-                E5MessageBox.warning(self,
+                E5MessageBox.warning(
+                    self,
                     self.trUtf8("Add Documentation"),
                     self.trUtf8(
                         """The file <b>{0}</b> is not a valid"""
@@ -77,7 +78,8 @@
                 continue
             
             if len(self.documentsList.findItems(ns, Qt.MatchFixedString)):
-                E5MessageBox.warning(self,
+                E5MessageBox.warning(
+                    self,
                     self.trUtf8("Add Documentation"),
                     self.trUtf8(
                         """The namespace <b>{0}</b> is already registered.""")\
@@ -96,7 +98,8 @@
         """
         Private slot to remove a document from the help database.
         """
-        res = E5MessageBox.question(self,
+        res = E5MessageBox.question(
+            self,
             self.trUtf8("Remove Documentation"),
             self.trUtf8(
                 """Do you really want to remove the selected documentation """
@@ -110,7 +113,8 @@
         for item in items:
             ns = item.text()
             if ns in list(openedDocs.values()):
-                res = E5MessageBox.yesNo(self,
+                res = E5MessageBox.yesNo(
+                    self,
                     self.trUtf8("Remove Documentation"),
                     self.trUtf8(
                         """Some documents currently opened reference the """

eric ide

mercurial