| 254 | } |
| 255 | |
| 256 | int TreeModel::rowCount(const QModelIndex& parent) const { |
| 257 | const auto* parentItem = getItem(parent); |
| 258 | return parentItem->childCount(); |
| 259 | } |
| 260 | |
| 261 | bool TreeModel::setTreeData(const QVariant& data, const int row, const int column, const QModelIndex& parent, int role) { |
| 262 | QModelIndex curveIndex = index(row, column, parent); |
no test coverage detected