MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / nodeChildrenFromIndex

Method nodeChildrenFromIndex

src/document/UBDocumentController.cpp:1156–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156QList<UBDocumentTreeNode*> UBDocumentTreeModel::nodeChildrenFromIndex(const QModelIndex &pIndex) const
1157{
1158 UBDocumentTreeNode *node = nodeFromIndex(pIndex);
1159
1160 if (node)
1161 return node->children();
1162 else
1163 return QList<UBDocumentTreeNode*>();
1164}
1165
1166QStringList UBDocumentTreeModel::nodeNameList(const QModelIndex &pIndex, bool distinctNodeType) const
1167{

Callers 1

createEditorMethod · 0.80

Calls 1

childrenMethod · 0.80

Tested by

no test coverage detected