MCPcopy Create free account
hub / github.com/KDE/kdevelop / result

Method result

plugins/clangtidy/tests/data/plugin.cpp:235–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void Plugin::result(KJob* job)
236{
237 Job* aj = dynamic_cast<Job*>(job);
238 if (!aj) {
239 return;
240 }
241
242 if (aj->status() == KDevelop::OutputExecuteJob::JobStatus::JobSucceeded) {
243 m_model->setProblems(aj->problems());
244
245 core()->uiController()->findToolView(i18nd("kdevproblemreporter", "Problems"), 0,
246 KDevelop::IUiController::FindFlags::Raise);
247 }
248}
249
250KDevelop::ContextMenuExtension Plugin::contextMenuExtension(KDevelop::Context* context)
251{

Callers

nothing calls this directly

Calls 5

findToolViewMethod · 0.80
uiControllerMethod · 0.80
statusMethod · 0.45
setProblemsMethod · 0.45
problemsMethod · 0.45

Tested by

no test coverage detected