Fixed a few code style issues.

Tue, 13 Feb 2018 19:59:44 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 13 Feb 2018 19:59:44 +0100
changeset 6149
e611e45a17d6
parent 6148
6c7af1e85e49
child 6150
20efcd29b237

Fixed a few code style issues.

WebBrowser/Download/DownloadManager.py file | annotate | diff | comparison | revisions
WebBrowser/StatusBar/JavaScriptIcon.py file | annotate | diff | comparison | revisions
WebBrowser/Tools/Scripts.py file | annotate | diff | comparison | revisions
WebBrowser/WebBrowserPage.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/Download/DownloadManager.py	Tue Feb 13 19:55:23 2018 +0100
+++ b/WebBrowser/Download/DownloadManager.py	Tue Feb 13 19:59:44 2018 +0100
@@ -30,6 +30,9 @@
 class DownloadManager(QDialog, Ui_DownloadManager):
     """
     Class implementing the download manager.
+    
+    @signal downloadsCountChanged() emitted to indicate a change of the
+        count of download items
     """
     RemoveNever = 0
     RemoveExit = 1
--- a/WebBrowser/StatusBar/JavaScriptIcon.py	Tue Feb 13 19:55:23 2018 +0100
+++ b/WebBrowser/StatusBar/JavaScriptIcon.py	Tue Feb 13 19:59:44 2018 +0100
@@ -156,4 +156,4 @@
             enable = self.__settings[page]
         if isMainFrame:
             page.settings().setAttribute(QWebEngineSettings.JavascriptEnabled,
-                enable)
+                                         enable)
--- a/WebBrowser/Tools/Scripts.py	Tue Feb 13 19:55:23 2018 +0100
+++ b/WebBrowser/Tools/Scripts.py	Tue Feb 13 19:59:44 2018 +0100
@@ -23,7 +23,7 @@
     """
     Function generating  a script to setup the web channel.
     
-    @param worlId world ID for which to setup the channel
+    @param worldId world ID for which to setup the channel
     @type int
     @return script to setup the web channel
     @rtype str
--- a/WebBrowser/WebBrowserPage.py	Tue Feb 13 19:55:23 2018 +0100
+++ b/WebBrowser/WebBrowserPage.py	Tue Feb 13 19:59:44 2018 +0100
@@ -43,6 +43,8 @@
         malicious web site as determined by safe browsing
     @signal printRequested() emitted to indicate a print request of the shown
         web page
+    @signal navigationRequestAccepted(url, navigation type, main frame) emitted
+        to signal an accepted navigation request
     """
     if qVersionTuple() >= (5, 7, 0):
         SafeJsWorld = QWebEngineScript.ApplicationWorld

eric ide

mercurial