summaryrefslogtreecommitdiffstats
path: root/src/downloadManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/downloadManager.h')
-rw-r--r--src/downloadManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/downloadManager.h b/src/downloadManager.h
index c556cb3..6c96633 100644
--- a/src/downloadManager.h
+++ b/src/downloadManager.h
@@ -23,6 +23,7 @@
#include <QDir>
#include <QMap>
#include <QtNetwork>
+#include <QTimer>
extern bool debug;
extern QUrl baseURL;
@@ -46,6 +47,7 @@ private:
QNetworkReply* currentDownload;
QFile outfile;
QDir downloadDir;
+ QTime dltime;
bool dip;
int currentProgress, lastProgress;
@@ -54,7 +56,7 @@ private:
signals:
void finished();
- void updateProgress(QString current, int i);
+ void updateProgress(int percent, double speed);
void downloadQueueEmpty();
public slots: