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

Method virtualPathForIndex

src/document/UBDocumentController.cpp:1148–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148QString UBDocumentTreeModel::virtualPathForIndex(const QModelIndex &pIndex) const
1149{
1150 UBDocumentTreeNode *curNode = nodeFromIndex(pIndex);
1151 Q_ASSERT(curNode);
1152
1153 return virtualDirForIndex(pIndex) + "/" + curNode->nodeName();
1154}
1155
1156QList<UBDocumentTreeNode*> UBDocumentTreeModel::nodeChildrenFromIndex(const QModelIndex &pIndex) const
1157{

Callers 3

createNewDocumentMethod · 0.80
importFileMethod · 0.80

Calls 1

nodeNameMethod · 0.80

Tested by

no test coverage detected