| 33 | } |
| 34 | |
| 35 | void |
| 36 | MultitaskControllerModel::connectAll(void) |
| 37 | { |
| 38 | connect( |
| 39 | this->controller, |
| 40 | SIGNAL(taskAdded(CancellableTask *)), |
| 41 | this, |
| 42 | SLOT(onListChanged(void))); |
| 43 | |
| 44 | connect( |
| 45 | this->controller, |
| 46 | SIGNAL(taskDone(int)), |
| 47 | this, |
| 48 | SLOT(onListChanged(void))); |
| 49 | |
| 50 | connect( |
| 51 | this->controller, |
| 52 | SIGNAL(taskCancelled(int)), |
| 53 | this, |
| 54 | SLOT(onListChanged(void))); |
| 55 | |
| 56 | connect( |
| 57 | this->controller, |
| 58 | SIGNAL(taskError(int, QString)), |
| 59 | this, |
| 60 | SLOT(onError(int, QString))); |
| 61 | |
| 62 | connect( |
| 63 | this->controller, |
| 64 | SIGNAL(taskProgress(int, qreal, QString)), |
| 65 | this, |
| 66 | SLOT(onProgress(int, qreal, QString))); |
| 67 | } |
| 68 | |
| 69 | int |
| 70 | MultitaskControllerModel::rowCount(const QModelIndex &) const |
no outgoing calls
no test coverage detected