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

Method rebuild

kdevplatform/shell/filteredproblemstore.cpp:251–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void FilteredProblemStore::rebuild()
252{
253 Q_D(FilteredProblemStore);
254
255 emit beginRebuild();
256
257 d->m_strategy->clear();
258
259 const auto childrenNodes = rootNode()->children();
260 for (ProblemStoreNode* node : childrenNodes) {
261 IProblem::Ptr problem = node->problem();
262 if (d->match(problem)) {
263 d->m_strategy->addProblem(problem);
264 }
265 }
266
267 emit endRebuild();
268}
269
270void FilteredProblemStore::setGrouping(int grouping)
271{

Callers

nothing calls this directly

Calls 5

rootNodeFunction · 0.85
clearMethod · 0.45
childrenMethod · 0.45
matchMethod · 0.45
addProblemMethod · 0.45

Tested by

no test coverage detected