statusbar: added basic task UI feedback without requiring the task

manager to be open
This commit is contained in:
itsmattkc
2020-03-03 01:50:51 +11:00
parent d8f83f1452
commit 02909c6ba9
6 changed files with 116 additions and 2 deletions
+9 -2
View File
@@ -51,14 +51,16 @@ public:
*/
virtual ~TaskManager();
DISABLE_COPY_MOVE(TaskManager)
static void CreateInstance();
static void DestroyInstance();
static TaskManager* instance();
int GetTaskCount() const;
Task* GetFirstTask() const;
public slots:
/**
* @brief Add a new Task
@@ -87,6 +89,11 @@ signals:
*/
void TaskAdded(Task* t);
/**
* @brief Signal emitted when any change to the running task list has been made
*/
void TaskListChanged();
private:
/**
* @brief The Status enum