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

Method handleNotifyEvent

src/plugins/binarytools/event/eventreceiver.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void EventReceiver::handleNotifyEvent(const dpf::Event &event)
38{
39 const auto &actId = event.property("actionId").toString();
40 auto toolId = actId.mid(0, actId.indexOf('_'));
41 BinaryToolsManager::instance()->installTool(toolId);
42}
43
44void EventReceiver::handleFileSavedEvent(const dpf::Event &event)
45{

Callers

nothing calls this directly

Calls 4

installToolMethod · 0.80
toStringMethod · 0.45
propertyMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected