MCPcopy Create free account
hub / github.com/QuasarApp/CQtDeployer / qtModuleForPluginGroup

Method qtModuleForPluginGroup

src/Deploy/src/pluginsparser.cpp:105–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103};
104
105quint64 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
118quint64 PluginsParser::qtModuleForPlugin(const QString &plugin) const {
119 const auto end = std::end(ditalsSluginModuleMappings);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected