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

Method data

src/plugins/find/gui/searchresultmodel.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23QVariant SearchResultModel::data(const QModelIndex &index, int role) const
24{
25 if (auto item = findItem(index))
26 return data(*item, role);
27
28 QString group = findGroup(index);
29 if (!group.isEmpty())
30 return data(group, role);
31
32 return QVariant();
33}
34
35QModelIndex SearchResultModel::index(int row, int column, const QModelIndex &parent) const
36{

Callers 10

handleMenuRequestedMethod · 0.45
drawNameItemMethod · 0.45
drawContextItemMethod · 0.45
adjustContentMethod · 0.45
TaskCommanderPrivateMethod · 0.45
~TaskCommanderPrivateMethod · 0.45
searchMethod · 0.45
replaceMethod · 0.45
stopMethod · 0.45
eventProcessMethod · 0.45

Calls 3

fileNameMethod · 0.80
isEmptyMethod · 0.45
iconMethod · 0.45

Tested by

no test coverage detected