1 #include "internaltask.h"
3 InternalTask::InternalTask(Worker *w):
7 InternalTask::~InternalTask()
13 void InternalTask::start()
19 Task::Status InternalTask::check()
21 Status result = worker->get_status();
23 signal_finished.emit(result==SUCCESS);
27 Task::Status InternalTask::wait()
30 while((result = check())==RUNNING) ;
35 InternalTask::Worker::Worker():