MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / connectSignals

Method connectSignals

src/modlistproxy.cpp:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void ModListProxy::connectSignals()
19{
20 m_Connections.push_back(m_Proxied->onModInstalled(
21 callSignalIfPluginActive(m_OrganizerProxy, m_ModInstalled)));
22 m_Connections.push_back(
23 m_Proxied->onModMoved(callSignalIfPluginActive(m_OrganizerProxy, m_ModMoved)));
24 m_Connections.push_back(m_Proxied->onModRemoved(
25 callSignalIfPluginActive(m_OrganizerProxy, m_ModRemoved)));
26 m_Connections.push_back(m_Proxied->onModStateChanged(
27 callSignalIfPluginActive(m_OrganizerProxy, m_ModStateChanged)));
28}
29
30void ModListProxy::disconnectSignals()
31{

Callers 1

startPluginsImplMethod · 0.45

Calls 5

callSignalIfPluginActiveFunction · 0.85
onModInstalledMethod · 0.45
onModMovedMethod · 0.45
onModRemovedMethod · 0.45
onModStateChangedMethod · 0.45

Tested by

no test coverage detected