From 84549ed8078bdbd029aa5a89facc0412b8b5e753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 26 Apr 2015 13:47:14 +0200 Subject: GH-849 Further NetJob related fixes --- logic/net/NetJob.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'logic/net/NetJob.h') diff --git a/logic/net/NetJob.h b/logic/net/NetJob.h index 912a74b3..c0172bea 100644 --- a/logic/net/NetJob.h +++ b/logic/net/NetJob.h @@ -21,17 +21,17 @@ #include "MD5EtagDownload.h" #include "CacheDownload.h" #include "HttpMetaCache.h" -#include "tasks/ProgressProvider.h" +#include "tasks/Task.h" #include "QObjectPtr.h" class NetJob; typedef QObjectPtr NetJobPtr; -class NetJob : public ProgressProvider +class NetJob : public Task { Q_OBJECT public: - explicit NetJob(QString job_name) : ProgressProvider(), m_job_name(job_name) {} + explicit NetJob(QString job_name) : Task(), m_job_name(job_name) {} virtual ~NetJob() {} template bool addNetAction(T action) { @@ -87,7 +87,7 @@ private slots: void startMoreParts(); public slots: - virtual void start(); + virtual void executeTask(); // FIXME: implement virtual void abort() {}; -- cgit v1.2.3