MCPcopy Create free account
hub / github.com/LongSoft/UEFITool / rowCount

Method rowCount

treemodel.cpp:119–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119int TreeModel::rowCount(const QModelIndex &parent) const
120{
121 TreeItem *parentItem;
122 if (parent.column() > 0)
123 return 0;
124
125 if (!parent.isValid())
126 parentItem = rootItem;
127 else
128 parentItem = static_cast<TreeItem*>(parent.internalPointer());
129
130 return parentItem->childCount();
131}
132
133UINT8 TreeModel::type(const QModelIndex &index) const
134{

Callers 15

rebasePeiFilesMethod · 0.80
removeMethod · 0.80
rebuildMethod · 0.80
reconstructIntelImageMethod · 0.80
reconstructRegionMethod · 0.80
reconstructVolumeMethod · 0.80
reconstructFileMethod · 0.80
reconstructSectionMethod · 0.80
findHexPatternMethod · 0.80
findGuidPatternMethod · 0.80
findTextPatternMethod · 0.80
recursiveDumpMethod · 0.80

Calls 1

childCountMethod · 0.80

Tested by

no test coverage detected