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

Method setScope

kdevplatform/shell/problemmodel.cpp:389–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389void ProblemModel::setScope(ProblemScope scope)
390{
391 Q_D(ProblemModel);
392
393 Q_ASSERT(thread() == QThread::currentThread());
394
395 if (!features().testFlag(ScopeFilter))
396 scope = ProblemScope::BypassScopeFilter;
397
398 /// Will trigger signals beginRebuild(), endRebuild() if problems change and are rebuilt
399 d->m_problems->setScope(scope);
400}
401
402void ProblemModel::setPathForDocumentsInPathScope(const QString& path)
403{

Callers

nothing calls this directly

Calls 2

threadFunction · 0.85
featuresFunction · 0.85

Tested by

no test coverage detected