| 1119 | } |
| 1120 | |
| 1121 | std::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 | |
| 1131 | QString UBDocumentTreeModel::virtualDirForIndex(const QModelIndex &pIndex) const |
| 1132 | { |
no test coverage detected