eric6.Helpviewer.Bookmarks.BookmarksImporters.HtmlImporter
Module implementing an importer for HTML bookmark files.
Global Attributes
Classes
| HtmlImporter | Class implementing the HTML bookmarks importer. | 
Functions
| getImporterInfo | Module function to get information for the given HTML source id. | 
HtmlImporter
    Class implementing the HTML bookmarks importer.
Derived from
BookmarksImporter
Class Attributes
Class Methods
Methods
| HtmlImporter | Constructor | 
| importedBookmarks | Public method to get the imported bookmarks. | 
| open | Public method to open the bookmarks file. | 
| setPath | Public method to set the path of the bookmarks file or directory. | 
Static Methods
HtmlImporter (Constructor)
HtmlImporter(id="", parent=None)
        Constructor
- id
- 
source ID (string)
- parent
- 
reference to the parent object (QObject)
HtmlImporter.importedBookmarks
importedBookmarks()
        Public method to get the imported bookmarks.
- Returns:
- 
imported bookmarks (BookmarkNode)
HtmlImporter.open
open()
        Public method to open the bookmarks file.
- Returns:
- 
flag indicating success (boolean)
HtmlImporter.setPath
setPath(path)
        Public method to set the path of the bookmarks file or directory.
- path
- 
bookmarks file or directory (string)
getImporterInfo
getImporterInfo(id)
    Module function to get information for the given HTML source id.
- id
- 
id of the browser ("chrome" or "chromium")
- Returns:
- 
tuple with an icon (QPixmap), readable name (string), name of
        the default bookmarks file (string), an info text (string),
        a prompt (string) and the default directory of the bookmarks file
        (string)
- Raises ValueError:
- 
raised to indicate an invalid browser ID