diff options
author | Andrew <forkk@forkk.net> | 2013-02-05 16:34:20 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-05 16:34:20 -0600 |
commit | a416c58a93dd9d108f4c4fa968b9431e30834c5c (patch) | |
tree | 4f9cb446abc035fca98628358ab4a65d81f1f962 /tasks/task.h | |
parent | f8ea8d9e3bb949d7c4ea39c47ca6091f61dc1cfc (diff) | |
download | MultiMC-a416c58a93dd9d108f4c4fa968b9431e30834c5c.tar MultiMC-a416c58a93dd9d108f4c4fa968b9431e30834c5c.tar.gz MultiMC-a416c58a93dd9d108f4c4fa968b9431e30834c5c.tar.lz MultiMC-a416c58a93dd9d108f4c4fa968b9431e30834c5c.tar.xz MultiMC-a416c58a93dd9d108f4c4fa968b9431e30834c5c.zip |
Started working on task system and login system.
Diffstat (limited to 'tasks/task.h')
-rw-r--r-- | tasks/task.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tasks/task.h b/tasks/task.h index 714889c8..0124d8cf 100644 --- a/tasks/task.h +++ b/tasks/task.h @@ -32,6 +32,10 @@ public: QString getStatus() const; int getProgress() const; +public slots: + void setStatus(const QString& status); + void setProgress(int progress); + signals: void taskStarted(Task* task); void taskEnded(Task* task); @@ -40,9 +44,6 @@ signals: void progressChanged(int progress); protected: - void setStatus(const QString& status); - void setProgress(int progress); - virtual void run(); virtual void executeTask() = 0; |