| 94 | } |
| 95 | |
| 96 | QList<JSPluginModule *> JSPluginManager::modulesByModuleType(QString type) const |
| 97 | { |
| 98 | QList<JSPluginModule *> ret; |
| 99 | for (JSPlugin *pluginData : m_pluginDataCollection) { |
| 100 | for (JSPluginModule *moduleData : pluginData->modules()) { |
| 101 | if (moduleData->spec()->moduleType() == type) { |
| 102 | ret.push_back(moduleData); |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 | return ret; |
| 107 | } |
| 108 | |
| 109 | QList<JSPluginModule *> JSPluginManager::modulesByKeyValue(QString key, QString value) const |
| 110 | { |
no test coverage detected