105 <tr> |
105 <tr> |
106 <td><a href="#DownloadItem.__setDateTime">__setDateTime</a></td> |
106 <td><a href="#DownloadItem.__setDateTime">__setDateTime</a></td> |
107 <td>Private method to set the download date and time.</td> |
107 <td>Private method to set the download date and time.</td> |
108 </tr> |
108 </tr> |
109 <tr> |
109 <tr> |
|
110 <td><a href="#DownloadItem.__setFileLabels">__setFileLabels</a></td> |
|
111 <td>Private slot to set and format the info label.</td> |
|
112 </tr> |
|
113 <tr> |
110 <td><a href="#DownloadItem.__setFileName">__setFileName</a></td> |
114 <td><a href="#DownloadItem.__setFileName">__setFileName</a></td> |
111 <td>Private method to set the file name to save the download into.</td> |
115 <td>Private method to set the file name to save the download into.</td> |
112 </tr> |
116 </tr> |
113 <tr> |
117 <tr> |
114 <td><a href="#DownloadItem.__updateInfoLabel">__updateInfoLabel</a></td> |
118 <td><a href="#DownloadItem.__updateInfoLabel">__updateInfoLabel</a></td> |
153 <tr> |
157 <tr> |
154 <td><a href="#DownloadItem.downloading">downloading</a></td> |
158 <td><a href="#DownloadItem.downloading">downloading</a></td> |
155 <td>Public method to determine, if a download is in progress.</td> |
159 <td>Public method to determine, if a download is in progress.</td> |
156 </tr> |
160 </tr> |
157 <tr> |
161 <tr> |
|
162 <td><a href="#DownloadItem.exists">exists</a></td> |
|
163 <td>Public method to check, if the downloaded file exists.</td> |
|
164 </tr> |
|
165 <tr> |
158 <td><a href="#DownloadItem.fileName">fileName</a></td> |
166 <td><a href="#DownloadItem.fileName">fileName</a></td> |
159 <td>Public method to get the name of the output file.</td> |
167 <td>Public method to get the name of the output file.</td> |
160 </tr> |
168 </tr> |
161 <tr> |
169 <tr> |
162 <td><a href="#DownloadItem.getData">getData</a></td> |
170 <td><a href="#DownloadItem.getData">getData</a></td> |
199 <td>Public method to set the relevant download data.</td> |
207 <td>Public method to set the relevant download data.</td> |
200 </tr> |
208 </tr> |
201 <tr> |
209 <tr> |
202 <td><a href="#DownloadItem.setIcon">setIcon</a></td> |
210 <td><a href="#DownloadItem.setIcon">setIcon</a></td> |
203 <td>Public method to set the download icon.</td> |
211 <td>Public method to set the download icon.</td> |
|
212 </tr> |
|
213 <tr> |
|
214 <td><a href="#DownloadItem.updateButtonsAndLabels">updateButtonsAndLabels</a></td> |
|
215 <td>Public method to update the buttons.</td> |
204 </tr> |
216 </tr> |
205 </table> |
217 </table> |
206 <h3>Static Methods</h3> |
218 <h3>Static Methods</h3> |
207 |
219 |
208 <table> |
220 <table> |
299 <dt><i>dateTime</i> (QDateTime)</dt> |
311 <dt><i>dateTime</i> (QDateTime)</dt> |
300 <dd> |
312 <dd> |
301 date and time to be set |
313 date and time to be set |
302 </dd> |
314 </dd> |
303 </dl> |
315 </dl> |
|
316 <a NAME="DownloadItem.__setFileLabels" ID="DownloadItem.__setFileLabels"></a> |
|
317 <h4>DownloadItem.__setFileLabels</h4> |
|
318 <b>__setFileLabels</b>(<i></i>) |
|
319 |
|
320 <p> |
|
321 Private slot to set and format the info label. |
|
322 </p> |
304 <a NAME="DownloadItem.__setFileName" ID="DownloadItem.__setFileName"></a> |
323 <a NAME="DownloadItem.__setFileName" ID="DownloadItem.__setFileName"></a> |
305 <h4>DownloadItem.__setFileName</h4> |
324 <h4>DownloadItem.__setFileName</h4> |
306 <b>__setFileName</b>(<i>fileName</i>) |
325 <b>__setFileName</b>(<i>fileName</i>) |
307 |
326 |
308 <p> |
327 <p> |
448 </p> |
467 </p> |
449 <dl> |
468 <dl> |
450 <dt>Return:</dt> |
469 <dt>Return:</dt> |
451 <dd> |
470 <dd> |
452 flag indicating a download is in progress (boolean) |
471 flag indicating a download is in progress (boolean) |
|
472 </dd> |
|
473 </dl> |
|
474 <a NAME="DownloadItem.exists" ID="DownloadItem.exists"></a> |
|
475 <h4>DownloadItem.exists</h4> |
|
476 <b>exists</b>(<i></i>) |
|
477 |
|
478 <p> |
|
479 Public method to check, if the downloaded file exists. |
|
480 </p> |
|
481 <dl> |
|
482 <dt>Return:</dt> |
|
483 <dd> |
|
484 flag indicating the existence of the downloaded file |
|
485 </dd> |
|
486 </dl> |
|
487 <dl> |
|
488 <dt>Return Type:</dt> |
|
489 <dd> |
|
490 bool |
453 </dd> |
491 </dd> |
454 </dl> |
492 </dl> |
455 <a NAME="DownloadItem.fileName" ID="DownloadItem.fileName"></a> |
493 <a NAME="DownloadItem.fileName" ID="DownloadItem.fileName"></a> |
456 <h4>DownloadItem.fileName</h4> |
494 <h4>DownloadItem.fileName</h4> |
457 <b>fileName</b>(<i></i>) |
495 <b>fileName</b>(<i></i>) |
597 <dt><i>icon</i></dt> |
635 <dt><i>icon</i></dt> |
598 <dd> |
636 <dd> |
599 reference to the icon to be set (QIcon) |
637 reference to the icon to be set (QIcon) |
600 </dd> |
638 </dd> |
601 </dl> |
639 </dl> |
|
640 <a NAME="DownloadItem.updateButtonsAndLabels" ID="DownloadItem.updateButtonsAndLabels"></a> |
|
641 <h4>DownloadItem.updateButtonsAndLabels</h4> |
|
642 <b>updateButtonsAndLabels</b>(<i></i>) |
|
643 |
|
644 <p> |
|
645 Public method to update the buttons. |
|
646 </p> |
602 <div align="right"><a href="#top">Up</a></div> |
647 <div align="right"><a href="#top">Up</a></div> |
603 <hr /> |
648 <hr /> |
604 <hr /> |
649 <hr /> |
605 <a NAME="DownloadState" ID="DownloadState"></a> |
650 <a NAME="DownloadState" ID="DownloadState"></a> |
606 <h2>DownloadState</h2> |
651 <h2>DownloadState</h2> |