MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / task

Method task

src/plugins/builder/tasks/taskmodel.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60Task TaskModel::task(const QModelIndex &index) const
61{
62 int row = index.row();
63 if (!index.isValid() || row < 0 || row >= tasks.count())
64 return Task();
65 return tasks.at(row);
66}
67
68QList<Task> TaskModel::getTasks() const
69{

Callers 2

fixIssueWithAiMethod · 0.45
triggerDefaultHandlerMethod · 0.45

Calls 5

rowMethod · 0.80
atMethod · 0.80
TaskClass · 0.50
isValidMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected