| 17 | } |
| 18 | |
| 19 | QVariant TaskConnectionsModel::data(const QModelIndex &index, int role) const |
| 20 | { |
| 21 | if (role == TaskConnectionsRoles::TaskConnectionsRole) |
| 22 | return QVariant::fromValue(m_flow->connections().at(index.row())); |
| 23 | return QVariant(); |
| 24 | } |
| 25 | |
| 26 | QHash<int, QByteArray> TaskConnectionsModel::roleNames() const |
| 27 | { |
nothing calls this directly
no test coverage detected