| 127 | } |
| 128 | |
| 129 | int TransitionModel::rowCount(const QModelIndex &parent) const |
| 130 | { |
| 131 | Q_D(const TransitionModel); |
| 132 | if (!d->m_state) |
| 133 | return 0; |
| 134 | return d->children(d->mapModelIndex2QObject(parent)).size(); |
| 135 | } |
| 136 | |
| 137 | QModelIndex TransitionModel::index(int row, int column, const QModelIndex &parent) const |
| 138 | { |
nothing calls this directly
no test coverage detected