diff options
author | Andrew <forkk@forkk.net> | 2013-05-06 17:19:20 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-05-06 17:19:20 -0500 |
commit | 7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688 (patch) | |
tree | 4fb1ac88b2aa5daa10b6bde4764453623c3ac4f5 /libmultimc/include/task.h | |
parent | 2fe6bc47ed5f3d52d33d164af9a2176eb7d29026 (diff) | |
download | MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar.gz MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar.lz MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar.xz MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.zip |
Made the version list load in the background on startup.
Resolves JIRA issue MMC-11:
https://jira.forkk.net/browse/MMC-11
Diffstat (limited to 'libmultimc/include/task.h')
-rw-r--r-- | libmultimc/include/task.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libmultimc/include/task.h b/libmultimc/include/task.h index fc5b1d25..c8c12c02 100644 --- a/libmultimc/include/task.h +++ b/libmultimc/include/task.h @@ -48,8 +48,15 @@ public slots: void setProgress(int progress); signals: - void taskStarted(Task* task); - void taskEnded(Task* task); + void started(Task* task); + void ended(Task* task); + + void started(); + void ended(); + + + void statusChanged(Task* task, const QString& status); + void progressChanged(Task* task, int progress); void statusChanged(const QString& status); void progressChanged(int progress); @@ -58,6 +65,12 @@ protected: virtual void run(); virtual void executeTask() = 0; + virtual void emitStarted(); + virtual void emitEnded(); + + virtual void emitStatusChange(const QString &status); + virtual void emitProgressChange(int progress); + QString status; int progress; }; |