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

Method hasChildren

kdevplatform/language/classmodel/classmodel.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128bool ClassModel::hasChildren(const QModelIndex& parent) const
129{
130 if (!parent.isValid())
131 return true;
132
133 Node* node = static_cast<Node*>(parent.internalPointer());
134
135 return node->hasChildren();
136}
137
138QModelIndex ClassModel::index(int row, int column, const QModelIndex& parent) const
139{

Callers 1

removeEmptyNamespaceMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected