| 192 | } |
| 193 | |
| 194 | void NetworkSelectionModel::slotCurrentChanged(const QModelIndex ¤t, |
| 195 | const QModelIndex &previous) |
| 196 | { |
| 197 | Q_UNUSED(previous); |
| 198 | if (m_handlingRemoteMessage || !isConnected()) |
| 199 | return; |
| 200 | clearPendingSelection(); |
| 201 | |
| 202 | Message msg(m_myAddress, Protocol::SelectionModelCurrent); |
| 203 | msg << QItemSelectionModel::Current << Protocol::fromQModelIndex(current); |
| 204 | Endpoint::send(msg); |
| 205 | } |
| 206 | |
| 207 | void NetworkSelectionModel::select(const QItemSelection &selection, |
| 208 | QItemSelectionModel::SelectionFlags command) |
nothing calls this directly
no test coverage detected