| 264 | } |
| 265 | |
| 266 | void UBDocumentTreeNode::insertChild(int pIndex, UBDocumentTreeNode *pChild) |
| 267 | { |
| 268 | if (pChild) { |
| 269 | mChildren.insert(pIndex, pChild); |
| 270 | pChild->mParent = this; |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | void UBDocumentTreeNode::moveChild(UBDocumentTreeNode *child, int index, UBDocumentTreeNode *newParent) |
| 275 | { |
no test coverage detected