summaryrefslogtreecommitdiffstats
path: root/filecopier.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-12-06 12:14:47 +0100
committerArno <arno@disconnect.de>2016-12-06 12:14:47 +0100
commit997ed9156ba7a1942cebd487fd5cc2818220fa78 (patch)
tree3b9d5a63b9235e3fa9ce8e4f9078991fc14738b3 /filecopier.h
parenta68cf88e69c65014f2e528aa26db42b4808c3b64 (diff)
downloadShemovCleaner-997ed9156ba7a1942cebd487fd5cc2818220fa78.tar.gz
ShemovCleaner-997ed9156ba7a1942cebd487fd5cc2818220fa78.tar.bz2
ShemovCleaner-997ed9156ba7a1942cebd487fd5cc2818220fa78.zip
Add a summary to ProgressDialog
Show how many files we have, and display the transfer rate in Megabytes per second. Can't believe that it worked right from the start :)
Diffstat (limited to 'filecopier.h')
-rw-r--r--filecopier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/filecopier.h b/filecopier.h
index 96702a3..81d8496 100644
--- a/filecopier.h
+++ b/filecopier.h
@@ -18,6 +18,7 @@ class FileCopier : public QThread {
void newFile(const QString &source, const QString & dest, qint64 size);
void success(bool s, QString source);
void bytesRead(qint64 bytes);
+ void bytesReadIntval(qint64 bytes, qint64 msecs);
private:
QHash<QString, QString> mJobs;