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

Method notifyBuildState

src/plugins/builder/transceiver/buildersender.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void BuilderSender::notifyBuildState(BuildState state, const BuildCommandInfo &commandInfo)
21{
22 dpf::Event event;
23 event.setTopic(T_BUILDER);
24 event.setData(D_BUILD_STATE);
25 event.setProperty(P_STATE, static_cast<int>(state));
26 event.setProperty(P_ORIGINCMD, QVariant::fromValue(commandInfo));
27 dpf::EventCallProxy::instance().pubEvent(event);
28}
29

Callers

nothing calls this directly

Calls 4

setTopicMethod · 0.80
pubEventMethod · 0.80
setDataMethod · 0.45
setPropertyMethod · 0.45

Tested by

no test coverage detected