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

Method closedDocument

kdevplatform/shell/problemmodel.cpp:348–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348void ProblemModel::closedDocument(IDocument* document)
349{
350 Q_D(ProblemModel);
351
352 if (IndexedString(document->url()) == d->m_problems->currentDocument())
353 { // reset current document
354 d->m_problems->setCurrentDocument(IndexedString());
355 }
356}
357
358void ProblemModel::documentUrlChanged(IDocument* document, const QUrl& previousUrl)
359{

Callers

nothing calls this directly

Calls 3

IndexedStringClass · 0.70
urlMethod · 0.45
setCurrentDocumentMethod · 0.45

Tested by

no test coverage detected