| 126 | } |
| 127 | |
| 128 | bool ClassModel::hasChildren(const QModelIndex& parent) const |
| 129 | { |
| 130 | if (!parent.isValid()) |
| 131 | return true; |
| 132 | |
| 133 | Node* node = static_cast<Node*>(parent.internalPointer()); |
| 134 | |
| 135 | return node->hasChildren(); |
| 136 | } |
| 137 | |
| 138 | QModelIndex ClassModel::index(int row, int column, const QModelIndex& parent) const |
| 139 | { |
no test coverage detected