MCPcopy Create free account
hub / github.com/KDAB/GammaRay / foreach

Function foreach

common/pluginmanager.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 QStringList loadedPluginNames;
62
63 foreach (const auto &staticPlugin, QPluginLoader::staticPlugins()) {
64 PluginInfo pluginInfo(staticPlugin);
65
66 if (!pluginInfo.isValid() || loadedPluginNames.contains(pluginInfo.id()) || pluginInfo.interfaceId() != serviceType) {
67 qDebug() << "skipping static plugin " << pluginInfo.id() << pluginInfo.interfaceId();
68 continue;
69 }
70
71 if (createProxyFactory(pluginInfo, m_parent))
72 loadedPluginNames.push_back(pluginInfo.id());
73 }
74
75 foreach (const QString &pluginPath, pluginPaths()) {
76 const QDir dir(pluginPath);

Callers

nothing calls this directly

Calls 3

interfaceIdMethod · 0.80
isValidMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected