MCPcopy Create free account
hub / github.com/KDE/kdevelop / rowCount

Method rowCount

kdevplatform/shell/settings/environmentprofilemodel.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28int EnvironmentProfileModel::rowCount(const QModelIndex& parent) const
29{
30 if (parent.isValid()) {
31 return 0;
32 }
33
34 return m_varsByIndex.count();
35}
36
37int EnvironmentProfileModel::columnCount(const QModelIndex& parent) const
38{

Callers 10

testNoGroupingMethod · 0.45
testPathGroupingMethod · 0.45
testSeverityGroupingMethod · 0.45
testPlaceholderTextMethod · 0.45
checkDiagnosticsMethod · 0.45
emptyProjectMethod · 0.45
singleFileMethod · 0.45
singleDirectoryMethod · 0.45

Calls 2

isValidMethod · 0.45
countMethod · 0.45

Tested by 9

testNoGroupingMethod · 0.36
testPathGroupingMethod · 0.36
testSeverityGroupingMethod · 0.36
testPlaceholderTextMethod · 0.36
checkDiagnosticsMethod · 0.36
emptyProjectMethod · 0.36
singleFileMethod · 0.36
singleDirectoryMethod · 0.36