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

Method result

plugins/compileanalyzercommon/compileanalyzer.cpp:255–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void CompileAnalyzer::result(KJob* job)
256{
257 Q_UNUSED(job);
258
259 if (!core()->projectController()->projects().contains(m_model->project())) {
260 m_model->reset();
261 } else {
262 const auto status = m_job->status();
263 m_model->finishAddProblems(status == OutputExecuteJob::JobStatus::JobSucceeded);
264
265 if (status == OutputExecuteJob::JobStatus::JobSucceeded || status == OutputExecuteJob::JobStatus::JobCanceled) {
266 raiseProblemsToolView();
267 } else {
268 raiseOutputToolView();
269 }
270 }
271
272 m_job = nullptr; // job automatically deletes itself later
273
274 updateActions();
275}
276
277void CompileAnalyzer::fillContextMenuExtension(ContextMenuExtension &extension,
278 Context* context, QWidget* parent)

Callers

nothing calls this directly

Calls 7

projectsMethod · 0.80
projectControllerMethod · 0.80
finishAddProblemsMethod · 0.80
containsMethod · 0.45
projectMethod · 0.45
resetMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected