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

Method data

src/plugins/binarytools/models/binarytoolsmodel.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28QVariant BinaryToolsModel::data(const QModelIndex &index, int role) const
29{
30 if (auto tool = toolForIndex(index))
31 return data(*tool, role);
32
33 bool found;
34 QString group = groupForIndex(index, &found);
35 if (found)
36 return data(group, role);
37
38 return QVariant();
39}
40
41QVariant BinaryToolsModel::data(const ToolInfo &tool, int role) const
42{

Callers 7

initConnectionsMethod · 0.45
setIconMethod · 0.45
setEditorDataMethod · 0.45
drawToolItemMethod · 0.45
startMethod · 0.45
createToolProcessMethod · 0.45
eventProcessMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected