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

Method proxyForIndex

src/document/UBDocumentController.cpp:1121–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119}
1120
1121std::shared_ptr<UBDocumentProxy> UBDocumentTreeModel::proxyForIndex(const QModelIndex &pIndex) const
1122{
1123 UBDocumentTreeNode *node = nodeFromIndex(pIndex);
1124 if (!node) {
1125 return 0;
1126 }
1127
1128 return node->proxyData();
1129}
1130
1131QString UBDocumentTreeModel::virtualDirForIndex(const QModelIndex &pIndex) const
1132{

Callers 4

addDocumentToZipMethod · 0.80
foreachFunction · 0.80
selectedDocumentProxyMethod · 0.80
moveIndexesToTrashMethod · 0.80

Calls 1

proxyDataMethod · 0.45

Tested by

no test coverage detected