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

Function sendEvent

assets/templates/projects/plugin/demo.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void sendEvent()
93{
94 dpf::Event event;
95 event.setTopic(T_MENU);
96 event.setData(D_TSET);
97 event.setProperty(P_ACTION_TEXT, "Event has been received successfully!");
98 dpf::EventCallProxy::instance().pubEvent(event);
99}
100

Callers 5

timerEventMethod · 0.85
startMethod · 0.85
changeEventFunction · 0.85
wheelEventFunction · 0.85
showContextMenuMethod · 0.85

Calls 4

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

Tested by

no test coverage detected