| 75 | } |
| 76 | |
| 77 | int StructTreeNode::getRow() const |
| 78 | { |
| 79 | if (m_parent != nullptr) |
| 80 | return static_cast<int>(m_parent->m_children.indexOf(const_cast<StructTreeNode*>(this))); |
| 81 | |
| 82 | return 0; |
| 83 | } |
| 84 | |
| 85 | bool StructTreeNode::hasChildren() const |
| 86 | { |
no outgoing calls
no test coverage detected