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

Method addCategory

src/plugins/reversedebug/taskmodel.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void TaskModel::addCategory(const QString &categoryId, const QString &categoryName)
174{
175 if (categoryId.isEmpty())
176 return;
177
178 CategoryData data;
179 data.displayName = categoryName;
180 categories.insert(categoryId, data);
181}
182
183QList<Task> TaskModel::tasks(const QString &categoryId) const
184{

Callers 1

initializeMethod · 0.45

Calls 2

insertMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected