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

Method repopulateTaskVector

Suscan/MultitaskController.cpp:199–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void
200MultitaskController::repopulateTaskVector(void)
201{
202 int i = 0;
203
204 this->taskVec.resize(static_cast<int>(this->taskList.size()));
205
206 for (auto p : this->taskList) {
207 this->taskVec[i] = p;
208 p->assignIndex(i);
209 ++i;
210 }
211}
212
213void
214MultitaskController::pushTask(CancellableTask *task, QString const &title)

Callers 1

removeTaskContextMethod · 0.95

Calls 2

assignIndexMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected