aboutsummaryrefslogtreecommitdiff
path: root/installer/process/installworker.h
diff options
context:
space:
mode:
authorVictor Tran <vicr12345@gmail.com>2018-07-13 22:47:55 +1000
committerVictor Tran <vicr12345@gmail.com>2018-07-13 22:47:55 +1000
commit14f04e63ebf45d5896effe36b55470d86f735dfb (patch)
treece9ac6deba28917288ccf8d2ed494253d4c9af02 /installer/process/installworker.h
parenta1e9542350cc617412781af88d5b33133d4be8f4 (diff)
downloadtheInstaller-14f04e63ebf45d5896effe36b55470d86f735dfb.tar.gz
theInstaller-14f04e63ebf45d5896effe36b55470d86f735dfb.tar.bz2
theInstaller-14f04e63ebf45d5896effe36b55470d86f735dfb.zip
Download progress and process checking for uninstall
Diffstat (limited to 'installer/process/installworker.h')
-rw-r--r--installer/process/installworker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/process/installworker.h b/installer/process/installworker.h
index ea0db48..e32a147 100644
--- a/installer/process/installworker.h
+++ b/installer/process/installworker.h
@@ -17,6 +17,7 @@
#include <QJsonObject>
#include <QUuid>
#include <QSettings>
+#include <QTimer>
#include <quazip/JlCompress.h>
@@ -37,6 +38,10 @@ private:
QNetworkAccessManager mgr;
QTemporaryFile packageFile;
QTemporaryDir packageTemporaryDir;
+
+ int lastBytesReceived;
+ QDateTime lastTimeUpdate;
+ bool emitStatus = true;
};
#endif // INSTALLWORKER_H