Documentation/Source/eric5.Helpviewer.Download.DownloadManager.html

changeset 945
8cd4d08fa9f6
parent 757
d3daf1d8f058
child 978
11f8adbcac97
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
151 <td>Public method to stop the download manager.</td> 151 <td>Public method to stop the download manager.</td>
152 </tr> 152 </tr>
153 </table> 153 </table>
154 <a NAME="DownloadManager.__init__" ID="DownloadManager.__init__"></a> 154 <a NAME="DownloadManager.__init__" ID="DownloadManager.__init__"></a>
155 <h4>DownloadManager (Constructor)</h4> 155 <h4>DownloadManager (Constructor)</h4>
156 <b>DownloadManager</b>(<i>parent = None</i>) 156 <b>DownloadManager</b>(<i>parent=None</i>)
157 <p> 157 <p>
158 Constructor 158 Constructor
159 </p><dl> 159 </p><dl>
160 <dt><i>parent</i></dt> 160 <dt><i>parent</i></dt>
161 <dd> 161 <dd>
251 <b>__updateItemCount</b>(<i></i>) 251 <b>__updateItemCount</b>(<i></i>)
252 <p> 252 <p>
253 Private method to update the count label. 253 Private method to update the count label.
254 </p><a NAME="DownloadManager.__updateRow" ID="DownloadManager.__updateRow"></a> 254 </p><a NAME="DownloadManager.__updateRow" ID="DownloadManager.__updateRow"></a>
255 <h4>DownloadManager.__updateRow</h4> 255 <h4>DownloadManager.__updateRow</h4>
256 <b>__updateRow</b>(<i>itm = None</i>) 256 <b>__updateRow</b>(<i>itm=None</i>)
257 <p> 257 <p>
258 Private slot to update a download item. 258 Private slot to update a download item.
259 </p><dl> 259 </p><dl>
260 <dt><i>itm</i></dt> 260 <dt><i>itm</i></dt>
261 <dd> 261 <dd>
301 <dd> 301 <dd>
302 number of downloads (integer) 302 number of downloads (integer)
303 </dd> 303 </dd>
304 </dl><a NAME="DownloadManager.download" ID="DownloadManager.download"></a> 304 </dl><a NAME="DownloadManager.download" ID="DownloadManager.download"></a>
305 <h4>DownloadManager.download</h4> 305 <h4>DownloadManager.download</h4>
306 <b>download</b>(<i>requestOrUrl, requestFileName = False</i>) 306 <b>download</b>(<i>requestOrUrl, requestFileName=False</i>)
307 <p> 307 <p>
308 Public method to download a file. 308 Public method to download a file.
309 </p><dl> 309 </p><dl>
310 <dt><i>requestOrUrl</i></dt> 310 <dt><i>requestOrUrl</i></dt>
311 <dd> 311 <dd>
336 <dd> 336 <dd>
337 reference to the downloads (list of DownloadItem) 337 reference to the downloads (list of DownloadItem)
338 </dd> 338 </dd>
339 </dl><a NAME="DownloadManager.handleUnsupportedContent" ID="DownloadManager.handleUnsupportedContent"></a> 339 </dl><a NAME="DownloadManager.handleUnsupportedContent" ID="DownloadManager.handleUnsupportedContent"></a>
340 <h4>DownloadManager.handleUnsupportedContent</h4> 340 <h4>DownloadManager.handleUnsupportedContent</h4>
341 <b>handleUnsupportedContent</b>(<i>reply, requestFileName = False, webPage = None, download = False</i>) 341 <b>handleUnsupportedContent</b>(<i>reply, requestFileName=False, webPage=None, download=False</i>)
342 <a NAME="DownloadManager.on_cleanupButton_clicked" ID="DownloadManager.on_cleanupButton_clicked"></a> 342 <a NAME="DownloadManager.on_cleanupButton_clicked" ID="DownloadManager.on_cleanupButton_clicked"></a>
343 <h4>DownloadManager.on_cleanupButton_clicked</h4> 343 <h4>DownloadManager.on_cleanupButton_clicked</h4>
344 <b>on_cleanupButton_clicked</b>(<i></i>) 344 <b>on_cleanupButton_clicked</b>(<i></i>)
345 <p> 345 <p>
346 Private slot cleanup the downloads. 346 Private slot cleanup the downloads.
376 Public method to set the remove policy. 376 Public method to set the remove policy.
377 </p><dl> 377 </p><dl>
378 <dt><i>policy</i></dt> 378 <dt><i>policy</i></dt>
379 <dd> 379 <dd>
380 policy to be set 380 policy to be set
381 (DownloadManager.RemoveExit, DownloadManager.RemoveNever, 381 (DownloadManager.RemoveExit, DownloadManager.RemoveNever,
382 DownloadManager.RemoveSuccessFullDownload) 382 DownloadManager.RemoveSuccessFullDownload)
383 </dd> 383 </dd>
384 </dl><a NAME="DownloadManager.shutdown" ID="DownloadManager.shutdown"></a> 384 </dl><a NAME="DownloadManager.shutdown" ID="DownloadManager.shutdown"></a>
385 <h4>DownloadManager.shutdown</h4> 385 <h4>DownloadManager.shutdown</h4>
386 <b>shutdown</b>(<i></i>) 386 <b>shutdown</b>(<i></i>)

eric ide

mercurial