58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#DownloadManager.__addItem">__addItem</a></td> |
60 <td><a href="#DownloadManager.__addItem">__addItem</a></td> |
61 <td>Private method to add a download to the list of downloads.</td> |
61 <td>Private method to add a download to the list of downloads.</td> |
62 </tr><tr> |
62 </tr><tr> |
|
63 <td><a href="#DownloadManager.__contextMenuCancel">__contextMenuCancel</a></td> |
|
64 <td>Private method to cancel the current download.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#DownloadManager.__contextMenuCopyLink">__contextMenuCopyLink</a></td> |
|
67 <td>Private method to copy the download link to the clipboard.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#DownloadManager.__contextMenuGotoPage">__contextMenuGotoPage</a></td> |
|
70 <td>Private method to open the download page.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#DownloadManager.__contextMenuOpen">__contextMenuOpen</a></td> |
|
73 <td>Private method to open the downloaded file.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#DownloadManager.__contextMenuOpenFolder">__contextMenuOpenFolder</a></td> |
|
76 <td>Private method to open the folder containing the downloaded file.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#DownloadManager.__contextMenuRemoveSelected">__contextMenuRemoveSelected</a></td> |
|
79 <td>Private method to remove the selected downloads from the list.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#DownloadManager.__contextMenuRetry">__contextMenuRetry</a></td> |
|
82 <td>Private method to retry of the download.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#DownloadManager.__contextMenuSelectAll">__contextMenuSelectAll</a></td> |
|
85 <td>Private method to select all downloads.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#DownloadManager.__currentItem">__currentItem</a></td> |
|
88 <td>Private method to get a reference to the current item.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#DownloadManager.__customContextMenuRequested">__customContextMenuRequested</a></td> |
|
91 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
|
92 </tr><tr> |
63 <td><a href="#DownloadManager.__load">__load</a></td> |
93 <td><a href="#DownloadManager.__load">__load</a></td> |
64 <td>Public method to load the download settings.</td> |
94 <td>Public method to load the download settings.</td> |
65 </tr><tr> |
95 </tr><tr> |
66 <td><a href="#DownloadManager.__updateItemCount">__updateItemCount</a></td> |
96 <td><a href="#DownloadManager.__updateItemCount">__updateItemCount</a></td> |
67 <td>Private method to update the count label.</td> |
97 <td>Private method to update the count label.</td> |
132 Private method to add a download to the list of downloads. |
162 Private method to add a download to the list of downloads. |
133 </p><dl> |
163 </p><dl> |
134 <dt><i>itm</i></dt> |
164 <dt><i>itm</i></dt> |
135 <dd> |
165 <dd> |
136 reference to the download item (DownloadItem) |
166 reference to the download item (DownloadItem) |
|
167 </dd> |
|
168 </dl><a NAME="DownloadManager.__contextMenuCancel" ID="DownloadManager.__contextMenuCancel"></a> |
|
169 <h4>DownloadManager.__contextMenuCancel</h4> |
|
170 <b>__contextMenuCancel</b>(<i></i>) |
|
171 <p> |
|
172 Private method to cancel the current download. |
|
173 </p><a NAME="DownloadManager.__contextMenuCopyLink" ID="DownloadManager.__contextMenuCopyLink"></a> |
|
174 <h4>DownloadManager.__contextMenuCopyLink</h4> |
|
175 <b>__contextMenuCopyLink</b>(<i></i>) |
|
176 <p> |
|
177 Private method to copy the download link to the clipboard. |
|
178 </p><a NAME="DownloadManager.__contextMenuGotoPage" ID="DownloadManager.__contextMenuGotoPage"></a> |
|
179 <h4>DownloadManager.__contextMenuGotoPage</h4> |
|
180 <b>__contextMenuGotoPage</b>(<i></i>) |
|
181 <p> |
|
182 Private method to open the download page. |
|
183 </p><a NAME="DownloadManager.__contextMenuOpen" ID="DownloadManager.__contextMenuOpen"></a> |
|
184 <h4>DownloadManager.__contextMenuOpen</h4> |
|
185 <b>__contextMenuOpen</b>(<i></i>) |
|
186 <p> |
|
187 Private method to open the downloaded file. |
|
188 </p><a NAME="DownloadManager.__contextMenuOpenFolder" ID="DownloadManager.__contextMenuOpenFolder"></a> |
|
189 <h4>DownloadManager.__contextMenuOpenFolder</h4> |
|
190 <b>__contextMenuOpenFolder</b>(<i></i>) |
|
191 <p> |
|
192 Private method to open the folder containing the downloaded file. |
|
193 </p><a NAME="DownloadManager.__contextMenuRemoveSelected" ID="DownloadManager.__contextMenuRemoveSelected"></a> |
|
194 <h4>DownloadManager.__contextMenuRemoveSelected</h4> |
|
195 <b>__contextMenuRemoveSelected</b>(<i></i>) |
|
196 <p> |
|
197 Private method to remove the selected downloads from the list. |
|
198 </p><a NAME="DownloadManager.__contextMenuRetry" ID="DownloadManager.__contextMenuRetry"></a> |
|
199 <h4>DownloadManager.__contextMenuRetry</h4> |
|
200 <b>__contextMenuRetry</b>(<i></i>) |
|
201 <p> |
|
202 Private method to retry of the download. |
|
203 </p><a NAME="DownloadManager.__contextMenuSelectAll" ID="DownloadManager.__contextMenuSelectAll"></a> |
|
204 <h4>DownloadManager.__contextMenuSelectAll</h4> |
|
205 <b>__contextMenuSelectAll</b>(<i></i>) |
|
206 <p> |
|
207 Private method to select all downloads. |
|
208 </p><a NAME="DownloadManager.__currentItem" ID="DownloadManager.__currentItem"></a> |
|
209 <h4>DownloadManager.__currentItem</h4> |
|
210 <b>__currentItem</b>(<i></i>) |
|
211 <p> |
|
212 Private method to get a reference to the current item. |
|
213 </p><dl> |
|
214 <dt>Returns:</dt> |
|
215 <dd> |
|
216 reference to the current item (DownloadItem) |
|
217 </dd> |
|
218 </dl><a NAME="DownloadManager.__customContextMenuRequested" ID="DownloadManager.__customContextMenuRequested"></a> |
|
219 <h4>DownloadManager.__customContextMenuRequested</h4> |
|
220 <b>__customContextMenuRequested</b>(<i>pos</i>) |
|
221 <p> |
|
222 Private slot to handle the context menu request for the bookmarks tree. |
|
223 </p><dl> |
|
224 <dt><i>pos</i></dt> |
|
225 <dd> |
|
226 position the context menu was requested (QPoint) |
137 </dd> |
227 </dd> |
138 </dl><a NAME="DownloadManager.__load" ID="DownloadManager.__load"></a> |
228 </dl><a NAME="DownloadManager.__load" ID="DownloadManager.__load"></a> |
139 <h4>DownloadManager.__load</h4> |
229 <h4>DownloadManager.__load</h4> |
140 <b>__load</b>(<i></i>) |
230 <b>__load</b>(<i></i>) |
141 <p> |
231 <p> |