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

Function foreach

plugins/widgetinspector/widgetinspectorserver.cpp:438–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436 if (!m_externalExportActions) {
437 std::unique_ptr<QLibrary> lib;
438 foreach (const auto &path, Paths::pluginPaths(GAMMARAY_PROBE_ABI)) {
439 const QString baseName = path + QLatin1String("/libgammaray_widget_export_actions");
440 lib.reset(new QLibrary);
441 lib->setFileName(baseName + QLatin1Char('-') + QStringLiteral(GAMMARAY_PROBE_ABI));
442 if (lib->load()) {
443 m_externalExportActions = std::move(lib);
444 break;
445 }
446 lib.reset(new QLibrary);
447 lib->setFileName(baseName + QLatin1String(GAMMARAY_DEBUG_POSTFIX));
448 if (lib->load()) {
449 m_externalExportActions = std::move(lib);
450 break;
451 }
452 }
453 }
454
455 if (m_externalExportActions) {

Callers 1

discoverObjectsMethod · 0.70

Calls 3

setFileNameMethod · 0.80
resetMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected