WebBrowser/WebBrowserPage.py

branch
QtWebEngine
changeset 4726
c26e2a2dc0cb
parent 4725
b19ff70ba509
child 4728
0367675d783d
diff -r b19ff70ba509 -r c26e2a2dc0cb WebBrowser/WebBrowserPage.py
--- a/WebBrowser/WebBrowserPage.py	Sat Feb 06 17:43:59 2016 +0100
+++ b/WebBrowser/WebBrowserPage.py	Sun Feb 07 18:08:48 2016 +0100
@@ -201,7 +201,7 @@
     
     def acceptNavigationRequest(self, url, type_, isMainFrame):
         """
-        Protected method to determine, if a request may be accepted.
+        Public method to determine, if a request may be accepted.
         
         @param url URL to navigate to
         @type QUrl
@@ -490,7 +490,7 @@
 ##            .userAgentForUrl(url)
 ##        if agent == "":
 ##            # no agent string specified for the given host -> use global one
-##            agent = Preferences.getHelp("UserAgent")
+##            agent = Preferences.getWebBrowser("UserAgent")
 ##            if agent == "":
 ##                # no global agent string specified -> use default one
 ##                agent = QWebPage.userAgentForUrl(self, url)
@@ -774,7 +774,7 @@
     
     def certificateError(self, error):
         """
-        Protected method to handle SSL certificate errors.
+        Public method to handle SSL certificate errors.
         
         @param error object containing the certificate error information
         @type QWebEngineCertificateError

eric ide

mercurial