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

Method ProblemModel

plugins/cppcheck/problemmodel.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32ProblemModel::ProblemModel(Plugin* plugin)
33 : KDevelop::ProblemModel(plugin)
34 , m_plugin(plugin)
35 , m_project(nullptr)
36 , m_pathLocation(KDevelop::DocumentRange::invalid())
37{
38 setFeatures(CanDoFullUpdate | ScopeFilter | SeverityFilter | Grouping | CanByPassScopeFilter);
39 reset();
40 problemModelSet()->addModel(Strings::problemModelId(), i18n("Cppcheck"), this);
41}
42
43ProblemModel::~ProblemModel()
44{

Callers

nothing calls this directly

Calls 5

resetFunction · 0.85
problemModelSetFunction · 0.85
problemModelIdFunction · 0.85
invalidFunction · 0.50
addModelMethod · 0.45

Tested by

no test coverage detected