1 #ifndef __libquark_util_TaskProcessor_hxx 2 #define __libquark_util_TaskProcessor_hxx 41 int addTask(
Task *task);
50 bool cancelTask(
int taskId);
69 void busyStateChanged(
bool busy);
74 virtual void customEvent(QEvent *event);
80 void checkForTimeouts();
84 void cleanUpTask(
Task *task);
86 QMap<int, Task *> _tasks;
95 #endif // __libquark_util_TaskProcessor_hxx An object that executes Tasks in a queue on a dedicated thread.
Definition: TaskProcessor.h++:23
Definition: BarChartView.h++:6
An abstract base class for objects that represent tasks to be executed by a TaskProcessor.
Definition: Task.h++:20
#define LIBQUARK_API
Definition: Quark.h++:18