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

Method problemsUpdated

plugins/problemreporter/problemreportermodel.cpp:125–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void ProblemReporterModel::problemsUpdated(const KDevelop::IndexedString& url)
126{
127 Q_ASSERT(thread() == QThread::currentThread());
128
129 // skip update for urls outside current scope
130 if (!store()->documents()->get().contains(url) &&
131 !(showImports() && store()->documents()->imports().contains(url)))
132 return;
133
134 /// m_minTimer will expire in MinTimeout unless some other parsing job finishes in this period.
135 m_minTimer->start();
136 /// m_maxTimer will expire unconditionally in MaxTimeout
137 if (!m_maxTimer->isActive()) {
138 m_maxTimer->start();
139 }
140}
141
142void ProblemReporterModel::rebuildProblemList()
143{

Callers 1

updateReadyMethod · 0.80

Calls 7

threadFunction · 0.85
containsMethod · 0.45
getMethod · 0.45
documentsMethod · 0.45
importsMethod · 0.45
startMethod · 0.45
isActiveMethod · 0.45

Tested by

no test coverage detected