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

Method onPluginSettingChanged

src/organizerproxy.cpp:400–405  ·  view source on GitHub ↗

Always call these one, otherwise plugin cannot detect they are being enabled / disabled:

Source from the content-addressed store, hash-verified

398// Always call these one, otherwise plugin cannot detect they are being enabled /
399// disabled:
400bool OrganizerProxy::onPluginSettingChanged(
401 std::function<void(QString const&, const QString& key, const QVariant&,
402 const QVariant&)> const& func)
403{
404 return m_PluginSettingChanged.connect(func).connected();
405}
406
407bool OrganizerProxy::onPluginEnabled(std::function<void(const IPlugin*)> const& func)
408{

Callers 1

connectSignalsMethod · 0.45

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected