eric6/Documentation/Source/eric6.WebBrowser.Bookmarks.BookmarksImporters.IExplorerImporter.html

branch
maintenance
changeset 7286
7eb04391adf7
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.Bookmarks.BookmarksImporters.IExplorerImporter</h1> 23 <h1>eric6.WebBrowser.Bookmarks.BookmarksImporters.IExplorerImporter</h1>
24
23 <p> 25 <p>
24 Module implementing an importer for Internet Explorer bookmarks. 26 Module implementing an importer for Internet Explorer bookmarks.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#IExplorerImporter">IExplorerImporter</a></td> 38 <td><a href="#IExplorerImporter">IExplorerImporter</a></td>
34 <td>Class implementing the Chrome bookmarks importer.</td> 39 <td>Class implementing the Chrome bookmarks importer.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
45
39 <tr> 46 <tr>
40 <td><a href="#getImporterInfo">getImporterInfo</a></td> 47 <td><a href="#getImporterInfo">getImporterInfo</a></td>
41 <td>Module function to get information for the given source id.</td> 48 <td>Module function to get information for the given source id.</td>
42 </tr> 49 </tr>
43 </table> 50 </table>
44 <hr /><hr /> 51 <hr />
52 <hr />
45 <a NAME="IExplorerImporter" ID="IExplorerImporter"></a> 53 <a NAME="IExplorerImporter" ID="IExplorerImporter"></a>
46 <h2>IExplorerImporter</h2> 54 <h2>IExplorerImporter</h2>
55
47 <p> 56 <p>
48 Class implementing the Chrome bookmarks importer. 57 Class implementing the Chrome bookmarks importer.
49 </p> 58 </p>
50 <h3>Derived from</h3> 59 <h3>Derived from</h3>
51 BookmarksImporter 60 BookmarksImporter
52 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
62
53 <table> 63 <table>
54 <tr><td>None</td></tr> 64 <tr><td>None</td></tr>
55 </table> 65 </table>
56 <h3>Class Methods</h3> 66 <h3>Class Methods</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Methods</h3> 71 <h3>Methods</h3>
72
61 <table> 73 <table>
74
62 <tr> 75 <tr>
63 <td><a href="#IExplorerImporter.__init__">IExplorerImporter</a></td> 76 <td><a href="#IExplorerImporter.__init__">IExplorerImporter</a></td>
64 <td>Constructor</td> 77 <td>Constructor</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#IExplorerImporter.importedBookmarks">importedBookmarks</a></td> 80 <td><a href="#IExplorerImporter.importedBookmarks">importedBookmarks</a></td>
67 <td>Public method to get the imported bookmarks.</td> 81 <td>Public method to get the imported bookmarks.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#IExplorerImporter.open">open</a></td> 84 <td><a href="#IExplorerImporter.open">open</a></td>
70 <td>Public method to open the bookmarks file.</td> 85 <td>Public method to open the bookmarks file.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#IExplorerImporter.setPath">setPath</a></td> 88 <td><a href="#IExplorerImporter.setPath">setPath</a></td>
73 <td>Public method to set the path of the bookmarks file or directory.</td> 89 <td>Public method to set the path of the bookmarks file or directory.</td>
74 </tr> 90 </tr>
75 </table> 91 </table>
76 <h3>Static Methods</h3> 92 <h3>Static Methods</h3>
93
77 <table> 94 <table>
78 <tr><td>None</td></tr> 95 <tr><td>None</td></tr>
79 </table> 96 </table>
97
80 <a NAME="IExplorerImporter.__init__" ID="IExplorerImporter.__init__"></a> 98 <a NAME="IExplorerImporter.__init__" ID="IExplorerImporter.__init__"></a>
81 <h4>IExplorerImporter (Constructor)</h4> 99 <h4>IExplorerImporter (Constructor)</h4>
82 <b>IExplorerImporter</b>(<i>sourceId="", parent=None</i>) 100 <b>IExplorerImporter</b>(<i>sourceId="", parent=None</i>)
101
83 <p> 102 <p>
84 Constructor 103 Constructor
85 </p><dl> 104 </p>
105 <dl>
106
86 <dt><i>sourceId</i></dt> 107 <dt><i>sourceId</i></dt>
87 <dd> 108 <dd>
88 source ID (string) 109 source ID (string)
89 </dd><dt><i>parent</i></dt> 110 </dd>
111 <dt><i>parent</i></dt>
90 <dd> 112 <dd>
91 reference to the parent object (QObject) 113 reference to the parent object (QObject)
92 </dd> 114 </dd>
93 </dl><a NAME="IExplorerImporter.importedBookmarks" ID="IExplorerImporter.importedBookmarks"></a> 115 </dl>
116 <a NAME="IExplorerImporter.importedBookmarks" ID="IExplorerImporter.importedBookmarks"></a>
94 <h4>IExplorerImporter.importedBookmarks</h4> 117 <h4>IExplorerImporter.importedBookmarks</h4>
95 <b>importedBookmarks</b>(<i></i>) 118 <b>importedBookmarks</b>(<i></i>)
119
96 <p> 120 <p>
97 Public method to get the imported bookmarks. 121 Public method to get the imported bookmarks.
98 </p><dl> 122 </p>
123 <dl>
99 <dt>Returns:</dt> 124 <dt>Returns:</dt>
100 <dd> 125 <dd>
101 imported bookmarks (BookmarkNode) 126 imported bookmarks (BookmarkNode)
102 </dd> 127 </dd>
103 </dl><a NAME="IExplorerImporter.open" ID="IExplorerImporter.open"></a> 128 </dl>
129 <a NAME="IExplorerImporter.open" ID="IExplorerImporter.open"></a>
104 <h4>IExplorerImporter.open</h4> 130 <h4>IExplorerImporter.open</h4>
105 <b>open</b>(<i></i>) 131 <b>open</b>(<i></i>)
132
106 <p> 133 <p>
107 Public method to open the bookmarks file. 134 Public method to open the bookmarks file.
108 </p><dl> 135 </p>
136 <dl>
109 <dt>Returns:</dt> 137 <dt>Returns:</dt>
110 <dd> 138 <dd>
111 flag indicating success (boolean) 139 flag indicating success (boolean)
112 </dd> 140 </dd>
113 </dl><a NAME="IExplorerImporter.setPath" ID="IExplorerImporter.setPath"></a> 141 </dl>
142 <a NAME="IExplorerImporter.setPath" ID="IExplorerImporter.setPath"></a>
114 <h4>IExplorerImporter.setPath</h4> 143 <h4>IExplorerImporter.setPath</h4>
115 <b>setPath</b>(<i>path</i>) 144 <b>setPath</b>(<i>path</i>)
145
116 <p> 146 <p>
117 Public method to set the path of the bookmarks file or directory. 147 Public method to set the path of the bookmarks file or directory.
118 </p><dl> 148 </p>
149 <dl>
150
119 <dt><i>path</i></dt> 151 <dt><i>path</i></dt>
120 <dd> 152 <dd>
121 bookmarks file or directory (string) 153 bookmarks file or directory (string)
122 </dd> 154 </dd>
123 </dl> 155 </dl>
124 <div align="right"><a href="#top">Up</a></div> 156 <div align="right"><a href="#top">Up</a></div>
125 <hr /><hr /> 157 <hr />
158 <hr />
126 <a NAME="getImporterInfo" ID="getImporterInfo"></a> 159 <a NAME="getImporterInfo" ID="getImporterInfo"></a>
127 <h2>getImporterInfo</h2> 160 <h2>getImporterInfo</h2>
128 <b>getImporterInfo</b>(<i>sourceId</i>) 161 <b>getImporterInfo</b>(<i>sourceId</i>)
162
129 <p> 163 <p>
130 Module function to get information for the given source id. 164 Module function to get information for the given source id.
131 </p><dl> 165 </p>
166 <dl>
167
132 <dt><i>sourceId</i></dt> 168 <dt><i>sourceId</i></dt>
133 <dd> 169 <dd>
134 id of the browser ("chrome" or "chromium") 170 id of the browser ("chrome" or "chromium")
135 </dd> 171 </dd>
136 </dl><dl> 172 </dl>
173 <dl>
137 <dt>Returns:</dt> 174 <dt>Returns:</dt>
138 <dd> 175 <dd>
139 tuple with an icon (QPixmap), readable name (string), name of 176 tuple with an icon (QPixmap), readable name (string), name of
140 the default bookmarks file (string), an info text (string), 177 the default bookmarks file (string), an info text (string),
141 a prompt (string) and the default directory of the bookmarks file 178 a prompt (string) and the default directory of the bookmarks file
142 (string) 179 (string)
143 </dd> 180 </dd>
144 </dl><dl> 181 </dl>
182 <dl>
183
145 <dt>Raises <b>ValueError</b>:</dt> 184 <dt>Raises <b>ValueError</b>:</dt>
146 <dd> 185 <dd>
147 raised to indicate an invalid browser ID 186 raised to indicate an invalid browser ID
148 </dd> 187 </dd>
149 </dl> 188 </dl>

eric ide

mercurial