MCPcopy Create free account
hub / github.com/KDAB/GammaRay / sendAddRemoveMessage

Method sendAddRemoveMessage

core/remote/remotemodelserver.cpp:428–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428void RemoteModelServer::sendAddRemoveMessage(Protocol::MessageType type, const QModelIndex &parent,
429 int start, int end)
430{
431 if (!isConnected())
432 return;
433 Message msg(m_myAddress, type);
434 msg << Protocol::fromQModelIndex(parent) << start << end;
435 sendMessage(msg);
436}
437
438void RemoteModelServer::sendMoveMessage(Protocol::MessageType type,
439 const Protocol::ModelIndex &sourceParent, int sourceStart,

Callers

nothing calls this directly

Calls 2

fromQModelIndexFunction · 0.85
sendMessageFunction · 0.85

Tested by

no test coverage detected