| 81 | } |
| 82 | |
| 83 | QList<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 | |
| 96 | QList<JSPluginModule *> JSPluginManager::modulesByModuleType(QString type) const |
| 97 | { |
nothing calls this directly
no test coverage detected