| 156 | } |
| 157 | |
| 158 | bool 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 | |
| 175 | void CheckSetSelectionManager::saveCheckSetSelections(QVector<CheckSetSelection>& checkSetSelections) |
| 176 | { |