MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / connectAll

Method connectAll

Misc/MultitaskControllerModel.cpp:35–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void
36MultitaskControllerModel::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
69int
70MultitaskControllerModel::rowCount(const QModelIndex &) const

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected