summaryrefslogtreecommitdiffstats
path: root/src/libs/kdtools/filedownloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/kdtools/filedownloader.cpp')
-rw-r--r--src/libs/kdtools/filedownloader.cpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/libs/kdtools/filedownloader.cpp b/src/libs/kdtools/filedownloader.cpp
index fce1a6208..f12b6df5d 100644
--- a/src/libs/kdtools/filedownloader.cpp
+++ b/src/libs/kdtools/filedownloader.cpp
@@ -148,6 +148,16 @@ static double calcProgress(qint64 done, qint64 total)
*/
/*!
+ \fn FileDownloader::downloadCompleted()
+ This signal is emitted when downloading a file ends.
+*/
+
+/*!
+ \fn FileDownloader::downloadAborted(const QString &errorMessage)
+ This signal is emitted when downloading a file is aborted with \a errorMessage.
+*/
+
+/*!
\fn FileDownloader::estimatedDownloadTime(int seconds)
This signal is emitted with the estimated download time in \a seconds.
*/
@@ -424,7 +434,7 @@ void KDUpdater::FileDownloader::stopDownloadDeadlineTimer()
}
/*!
- Sets the download into a paused state.
+ Sets the download into a \a paused state.
*/
void KDUpdater::FileDownloader::setDownloadPaused(bool paused)
{
@@ -432,7 +442,7 @@ void KDUpdater::FileDownloader::setDownloadPaused(bool paused)
}
/*!
- Gets the download paused state.
+ Returns the download paused state.
*/
bool KDUpdater::FileDownloader::isDownloadPaused()
{
@@ -440,7 +450,7 @@ bool KDUpdater::FileDownloader::isDownloadPaused()
}
/*!
- Sets the download into a paused state.
+ Sets the download into a \a resumed state.
*/
void KDUpdater::FileDownloader::setDownloadResumed(bool resumed)
{
@@ -448,7 +458,7 @@ void KDUpdater::FileDownloader::setDownloadResumed(bool resumed)
}
/*!
- Gets the download resumed state.
+ Returns the download resumed state.
*/
bool KDUpdater::FileDownloader::isDownloadResumed()
{
@@ -481,7 +491,7 @@ void KDUpdater::FileDownloader::clearBytesDownloadedBeforeResume()
}
/*!
- Updates the amount of bytes downloaded before download resume.
+ Updates the amount of \a bytes downloaded before download resumes.
*/
void KDUpdater::FileDownloader::updateBytesDownloadedBeforeResume(qint64 bytes)
{