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

Function enabledState

plugins/clangtidy/config/checklistmodel.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26ClangTidy::CheckGroup::EnabledState enabledState(int checkState)
27{
28 return
29 (checkState == Qt::PartiallyChecked) ? ClangTidy::CheckGroup::EnabledInherited :
30 (checkState == Qt::Unchecked) ? ClangTidy::CheckGroup::Disabled :
31 /* else */ ClangTidy::CheckGroup::Enabled;
32}
33
34}
35

Callers 2

isEnabledMethod · 0.85
setDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected