Fri, 27 Oct 2023 14:09:40 +0200
Regenerated the source documentation with the corrected module parser.
<!DOCTYPE html> <html><head> <title>eric7.WebBrowser.Bookmarks.BookmarksImporters.BookmarksImporter</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.Bookmarks.BookmarksImporters.BookmarksImporter</h1> <p> Module implementing a base class for the bookmarks importers. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#BookmarksImporter">BookmarksImporter</a></td> <td>Class implementing the base class for the bookmarks importers.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="BookmarksImporter" ID="BookmarksImporter"></a> <h2>BookmarksImporter</h2> <p> Class implementing the base class for the bookmarks importers. </p> <h3>Derived from</h3> QObject <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#BookmarksImporter.__init__">BookmarksImporter</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#BookmarksImporter.error">error</a></td> <td>Public method to check for an error.</td> </tr> <tr> <td><a href="#BookmarksImporter.errorString">errorString</a></td> <td>Public method to get the error description.</td> </tr> <tr> <td><a href="#BookmarksImporter.importedBookmarks">importedBookmarks</a></td> <td>Public method to get the imported bookmarks.</td> </tr> <tr> <td><a href="#BookmarksImporter.open">open</a></td> <td>Public method to open the bookmarks file.</td> </tr> <tr> <td><a href="#BookmarksImporter.setPath">setPath</a></td> <td>Public method to set the path of the bookmarks file or directory.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="BookmarksImporter.__init__" ID="BookmarksImporter.__init__"></a> <h4>BookmarksImporter (Constructor)</h4> <b>BookmarksImporter</b>(<i>sourceId="", parent=None</i>) <p> Constructor </p> <dl> <dt><i>sourceId</i></dt> <dd> source ID (string) </dd> <dt><i>parent</i></dt> <dd> reference to the parent object (QObject) </dd> </dl> <a NAME="BookmarksImporter.error" ID="BookmarksImporter.error"></a> <h4>BookmarksImporter.error</h4> <b>error</b>(<i></i>) <p> Public method to check for an error. </p> <dl> <dt>Return:</dt> <dd> flag indicating an error (boolean) </dd> </dl> <a NAME="BookmarksImporter.errorString" ID="BookmarksImporter.errorString"></a> <h4>BookmarksImporter.errorString</h4> <b>errorString</b>(<i></i>) <p> Public method to get the error description. </p> <dl> <dt>Return:</dt> <dd> error description (string) </dd> </dl> <a NAME="BookmarksImporter.importedBookmarks" ID="BookmarksImporter.importedBookmarks"></a> <h4>BookmarksImporter.importedBookmarks</h4> <b>importedBookmarks</b>(<i></i>) <p> Public method to get the imported bookmarks. </p> <p> It must return the imported bookmarks (BookmarkNode). </p> <dl> <dt>Raises <b>NotImplementedError</b>:</dt> <dd> raised to indicate this method must be implemented by a subclass </dd> </dl> <a NAME="BookmarksImporter.open" ID="BookmarksImporter.open"></a> <h4>BookmarksImporter.open</h4> <b>open</b>(<i></i>) <p> Public method to open the bookmarks file. </p> <p> It must return a flag indicating success (boolean). </p> <dl> <dt>Raises <b>NotImplementedError</b>:</dt> <dd> raised to indicate this method must be implemented by a subclass </dd> </dl> <a NAME="BookmarksImporter.setPath" ID="BookmarksImporter.setPath"></a> <h4>BookmarksImporter.setPath</h4> <b>setPath</b>(<i>path</i>) <p> Public method to set the path of the bookmarks file or directory. </p> <dl> <dt><i>path</i></dt> <dd> bookmarks file or directory (string) </dd> </dl> <dl> <dt>Raises <b>NotImplementedError</b>:</dt> <dd> raised to indicate this method must be implemented by a subclass </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>