src/eric7/Documentation/Source/eric7.WebBrowser.Bookmarks.BookmarksImporters.IExplorerImporter.html

branch
eric7
changeset 10436
f6881d10e995
parent 9503
ae9232bf4854
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
111 Public method to get the imported bookmarks. 111 Public method to get the imported bookmarks.
112 </p> 112 </p>
113 <dl> 113 <dl>
114 <dt>Return:</dt> 114 <dt>Return:</dt>
115 <dd> 115 <dd>
116 imported bookmarks (BookmarkNode) 116 imported bookmarks
117 </dd>
118 </dl>
119 <dl>
120 <dt>Return Type:</dt>
121 <dd>
122 BookmarkNode
117 </dd> 123 </dd>
118 </dl> 124 </dl>
119 <a NAME="IExplorerImporter.open" ID="IExplorerImporter.open"></a> 125 <a NAME="IExplorerImporter.open" ID="IExplorerImporter.open"></a>
120 <h4>IExplorerImporter.open</h4> 126 <h4>IExplorerImporter.open</h4>
121 <b>open</b>(<i></i>) 127 <b>open</b>(<i></i>)
124 Public method to open the bookmarks file. 130 Public method to open the bookmarks file.
125 </p> 131 </p>
126 <dl> 132 <dl>
127 <dt>Return:</dt> 133 <dt>Return:</dt>
128 <dd> 134 <dd>
129 flag indicating success (boolean) 135 flag indicating success
136 </dd>
137 </dl>
138 <dl>
139 <dt>Return Type:</dt>
140 <dd>
141 bool
130 </dd> 142 </dd>
131 </dl> 143 </dl>
132 <a NAME="IExplorerImporter.setPath" ID="IExplorerImporter.setPath"></a> 144 <a NAME="IExplorerImporter.setPath" ID="IExplorerImporter.setPath"></a>
133 <h4>IExplorerImporter.setPath</h4> 145 <h4>IExplorerImporter.setPath</h4>
134 <b>setPath</b>(<i>path</i>) 146 <b>setPath</b>(<i>path</i>)
136 <p> 148 <p>
137 Public method to set the path of the bookmarks file or directory. 149 Public method to set the path of the bookmarks file or directory.
138 </p> 150 </p>
139 <dl> 151 <dl>
140 152
141 <dt><i>path</i></dt> 153 <dt><i>path</i> (str)</dt>
142 <dd> 154 <dd>
143 bookmarks file or directory (string) 155 bookmarks file or directory
144 </dd> 156 </dd>
145 </dl> 157 </dl>
146 <div align="right"><a href="#top">Up</a></div> 158 <div align="right"><a href="#top">Up</a></div>
147 <hr /> 159 <hr />
148 <hr /> 160 <hr />
186 <p> 198 <p>
187 Module function to get information for the given source id. 199 Module function to get information for the given source id.
188 </p> 200 </p>
189 <dl> 201 <dl>
190 202
191 <dt><i>sourceId</i></dt> 203 <dt><i>sourceId</i> (str)</dt>
192 <dd> 204 <dd>
193 id of the browser ("chrome" or "chromium") 205 id of the browser
194 </dd> 206 </dd>
195 </dl> 207 </dl>
196 <dl> 208 <dl>
197 <dt>Return:</dt> 209 <dt>Return:</dt>
198 <dd> 210 <dd>
199 tuple with an icon (QPixmap), readable name (string), name of 211 tuple with an icon, readable name, name of the default
200 the default bookmarks file (string), an info text (string), 212 bookmarks file, an info text, a prompt and the default directory
201 a prompt (string) and the default directory of the bookmarks file 213 of the bookmarks file
202 (string) 214 </dd>
215 </dl>
216 <dl>
217 <dt>Return Type:</dt>
218 <dd>
219 tuple of (QPixmap, str, str, str, str, str)
203 </dd> 220 </dd>
204 </dl> 221 </dl>
205 <dl> 222 <dl>
206 223
207 <dt>Raises <b>ValueError</b>:</dt> 224 <dt>Raises <b>ValueError</b>:</dt>

eric ide

mercurial