| 205 | } |
| 206 | |
| 207 | void NetworkSelectionModel::select(const QItemSelection &selection, |
| 208 | QItemSelectionModel::SelectionFlags command) |
| 209 | { |
| 210 | QItemSelectionModel::select(selection, command); |
| 211 | |
| 212 | if (m_handlingRemoteMessage || !isConnected()) |
| 213 | return; |
| 214 | clearPendingSelection(); |
| 215 | |
| 216 | Message msg(m_myAddress, Protocol::SelectionModelSelect); |
| 217 | writeSelection(&msg, selection); |
| 218 | msg << command; |
| 219 | Endpoint::send(msg); |
| 220 | } |
| 221 | |
| 222 | void GammaRay::NetworkSelectionModel::applyPendingSelection() |
| 223 | { |