| 103 | }; |
| 104 | |
| 105 | quint64 PluginsParser::qtModuleForPluginGroup(const QString &subDirName) const { |
| 106 | const auto end = std::end(pluginModuleMappings); |
| 107 | |
| 108 | const auto result = |
| 109 | std::find_if(std::begin(pluginModuleMappings), end, |
| 110 | [&subDirName] (const PluginModuleMapping &m) { |
| 111 | |
| 112 | return subDirName == QLatin1String(m.directoryName); |
| 113 | }); |
| 114 | |
| 115 | return result != end ? result->module : 0; // "designer" |
| 116 | } |
| 117 | |
| 118 | quint64 PluginsParser::qtModuleForPlugin(const QString &plugin) const { |
| 119 | const auto end = std::end(ditalsSluginModuleMappings); |
nothing calls this directly
no outgoing calls
no test coverage detected