Module implementing the download manager class.
None |
DownloadManager | Class implementing the download manager. |
None |
Class implementing the download manager.
RemoveExit |
RemoveNever |
RemoveSuccessFullDownload |
UpdateTimerTimeout |
None |
DownloadManager | Constructor |
__addItem | Private method to add a download to the list of downloads. |
__closeDownloadTab | Private method to close an empty tab, that was opened only for loading the download URL. |
__contextMenuCancel | Private method to cancel the current download. |
__contextMenuCopyLink | Private method to copy the download link to the clipboard. |
__contextMenuGotoPage | Private method to open the download page. |
__contextMenuOpen | Private method to open the downloaded file. |
__contextMenuOpenFolder | Private method to open the folder containing the downloaded file. |
__contextMenuRemoveSelected | Private method to remove the selected downloads from the list. |
__contextMenuSelectAll | Private method to select all downloads. |
__currentItem | Private method to get a reference to the current item. |
__customContextMenuRequested | Private slot to handle the context menu request for the bookmarks tree. |
__finished | Private slot to handle a finished download. |
__load | Private method to load the download settings. |
__startUpdateTimer | Private slot to start the update timer. |
__stopUpdateTimer | Private slot to stop the update timer. |
__taskbarButton | Private method to get a reference to the task bar button (Windows only). |
__testWebBrowserView | Private method to test a web browser view against an URL. |
__updateRow | Private slot to update a download item. |
activeDownloadsCount | Public method to get the number of active downloads. |
allowQuit | Public method to check, if it is ok to quit. |
changeOccurred | Public method to signal a change. |
cleanup | Public slot to cleanup the downloads. |
closeEvent | Protected event handler for the close event. |
download | Public method to download a file. |
downloadDirectory | Public method to get the current download directory. |
downloads | Public method to get a reference to the downloads. |
downloadsCount | Public method to get the number of downloads. |
on_cleanupButton_clicked | Private slot to cleanup the downloads. |
removePolicy | Public method to get the remove policy. |
save | Public method to save the download settings. |
setDownloadDirectory | Public method to set the current download directory. |
setRemovePolicy | Public method to set the remove policy. |
show | Public slot to show the download manager dialog. |
shutdown | Public method to stop the download manager. |
timerEvent | Protected event handler for timer events. |
None |
Constructor
Private method to add a download to the list of downloads.
Private method to close an empty tab, that was opened only for loading the download URL.
Private method to cancel the current download.
Private method to copy the download link to the clipboard.
Private method to open the download page.
Private method to open the downloaded file.
Private method to open the folder containing the downloaded file.
Private method to remove the selected downloads from the list.
Private method to select all downloads.
Private method to get a reference to the current item.
Private slot to handle the context menu request for the bookmarks tree.
Private slot to handle a finished download.
Private method to load the download settings.
Private slot to start the update timer.
Private slot to stop the update timer.
Private method to get a reference to the task bar button (Windows only).
Private method to test a web browser view against an URL.
Private slot to update a download item.
Public method to get the number of active downloads.
Public method to check, if it is ok to quit.
Public method to signal a change.
Public slot to cleanup the downloads.
Protected event handler for the close event.
Public method to download a file.
Public method to get the current download directory.
Public method to get a reference to the downloads.
Public method to get the number of downloads.
Private slot to cleanup the downloads.
Public method to get the remove policy.
Public method to save the download settings.
Public method to set the current download directory.
Public method to set the remove policy.
Public slot to show the download manager dialog.
Public method to stop the download manager.
Protected event handler for timer events.