MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / eventProcess

Method eventProcess

src/plugins/chat/eventreceiver.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void ChatReceiver::eventProcess(const dpf::Event &event)
38{
39 const auto &eventName = event.data().toString();
40 if (!eventHandleMap.contains(eventName))
41 return;
42
43 eventHandleMap[eventName](event);
44}
45
46void ChatReceiver::processContextMenuEvent(const dpf::Event &event)
47{

Callers 1

registerHandlerMethod · 0.45

Calls 3

toStringMethod · 0.45
dataMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected