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

Method tasks

src/plugins/reversedebug/taskmodel.cpp:183–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183QList<Task> TaskModel::tasks(const QString &categoryId) const
184{
185 if (categoryId.isEmpty())
186 return allTasks;
187
188 QList<Task> taskList;
189 foreach (const Task &t, allTasks) {
190 if (t.category == categoryId)
191 taskList.append(t);
192 }
193 return taskList;
194}
195
196bool sortById(const Task &task, unsigned int id)
197{

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected