| 1146 | } |
| 1147 | |
| 1148 | QString 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 | |
| 1156 | QList<UBDocumentTreeNode*> UBDocumentTreeModel::nodeChildrenFromIndex(const QModelIndex &pIndex) const |
| 1157 | { |
no test coverage detected