| 410 | } |
| 411 | |
| 412 | void StructSelectModel::clearTree() |
| 413 | { |
| 414 | QModelIndex parent = getIndexFromTreeNode(m_rootNode); |
| 415 | while (m_rootNode->getChildren().count() > 0) |
| 416 | deleteNode(index(0, 0, parent)); |
| 417 | } |
| 418 | |
| 419 | void StructSelectModel::insertNewDef(const QString& name, StructDef* structDef) |
| 420 | { |
no outgoing calls
no test coverage detected