MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / modulesByButtonLocation

Method modulesByButtonLocation

src/jsplugin/JSPluginManager.cpp:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83QList<JSPluginModule *> JSPluginManager::modulesByButtonLocation(QString buttonLocation) const
84{
85 QList<JSPluginModule *> ret;
86 for (JSPlugin *pluginData : m_pluginDataCollection) {
87 for (JSPluginModule *moduleData : pluginData->modules()) {
88 if (moduleData->spec()->buttonLocation() == buttonLocation) {
89 ret.push_back(moduleData);
90 }
91 }
92 }
93 return ret;
94}
95
96QList<JSPluginModule *> JSPluginManager::modulesByModuleType(QString type) const
97{

Callers

nothing calls this directly

Calls 3

buttonLocationMethod · 0.80
modulesMethod · 0.45
specMethod · 0.45

Tested by

no test coverage detected