Continued porting the web browser. QtWebEngine

Sat, 20 Feb 2016 17:45:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 20 Feb 2016 17:45:40 +0100
branch
QtWebEngine
changeset 4759
a60eb8619906
parent 4758
c973eef8fef1
child 4760
d053f6655a0f
child 4761
9d077d20be75

Continued porting the web browser.

- removed some obsolete stuff

WebBrowser/WebBrowserView.py file | annotate | diff | comparison | revisions
WebBrowser/WebBrowserWindow.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/WebBrowserView.py	Sat Feb 20 17:31:34 2016 +0100
+++ b/WebBrowser/WebBrowserView.py	Sat Feb 20 17:45:40 2016 +0100
@@ -1886,7 +1886,6 @@
     ## RSS related methods below
     ###########################################################################
     
-    # TODO: RSS, extract links from page to implement RSS stuff
     def checkRSS(self):
         """
         Public method to check, if the loaded page contains feed links.
@@ -1901,21 +1900,6 @@
         for feed in feeds:
             if feed["url"] and feed["title"]:
                 self.__rss.append((feed["title"], feed["url"]))
-##        frame = self.page()
-##        linkElementsList = frame.findAllElements("link").toList()
-##        
-##        for linkElement in linkElementsList:
-##            # only atom+xml and rss+xml will be processed
-##            if linkElement.attribute("rel") != "alternate" or \
-##               (linkElement.attribute("type") != "application/rss+xml" and
-##                    linkElement.attribute("type") != "application/atom+xml"):
-##                continue
-##            
-##            title = linkElement.attribute("title")
-##            href = linkElement.attribute("href")
-##            if href == "" or title == "":
-##                continue
-##            self.__rss.append((title, href))
         
         return len(self.__rss) > 0
     
--- a/WebBrowser/WebBrowserWindow.py	Sat Feb 20 17:31:34 2016 +0100
+++ b/WebBrowser/WebBrowserWindow.py	Sat Feb 20 17:45:40 2016 +0100
@@ -2787,9 +2787,6 @@
         
         self.__initWebEngineSettings()
         
-        # TODO: NetworkManager
-##        self.networkManager().preferencesChanged()
-##        
         self.historyManager().preferencesChanged()
         
         self.__tabWidget.preferencesChanged()

eric ide

mercurial