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

Method isCheckSetSelectionLocked

plugins/clazy/checksetselectionmanager.cpp:158–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158bool CheckSetSelectionManager::isCheckSetSelectionLocked(const QString& checkSetSelectionId) const
159{
160 bool result = false;
161
162 // search in all folders for the info
163 for (const CheckSetSelectionFileInfoLookup& checkSetSelectionFileInfoLookup : m_checkSetSelectionFileInfoLookupPerFolder) {
164 CheckSetSelectionFileInfoLookup::ConstIterator it =
165 checkSetSelectionFileInfoLookup.find(checkSetSelectionId);
166 if (it != checkSetSelectionFileInfoLookup.constEnd()) {
167 result = it->isLocked();
168 break;
169 }
170 }
171
172 return result;
173}
174
175void CheckSetSelectionManager::saveCheckSetSelections(QVector<CheckSetSelection>& checkSetSelections)
176{

Callers

nothing calls this directly

Calls 3

constEndMethod · 0.80
findMethod · 0.45
isLockedMethod · 0.45

Tested by

no test coverage detected