From 997ed9156ba7a1942cebd487fd5cc2818220fa78 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 6 Dec 2016 12:14:47 +0100 Subject: 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 :) --- filecopier.h | 1 + 1 file changed, 1 insertion(+) (limited to 'filecopier.h') 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 mJobs; -- cgit v1.2.3-70-g09d2