| 190 | } |
| 191 | |
| 192 | QList< QModelIndex > CMakeCacheModel::persistentIndices() const |
| 193 | { |
| 194 | QList< QModelIndex > ret; |
| 195 | for(int i=0; i<rowCount(); i++) |
| 196 | { |
| 197 | QStandardItem* type = item(i, 1); |
| 198 | if(type->text()==QLatin1String("BOOL")) |
| 199 | { |
| 200 | QStandardItem* valu = item(i, 2); |
| 201 | ret.append(valu->index()); |
| 202 | } |
| 203 | } |
| 204 | return ret; |
| 205 | } |
| 206 | |
| 207 | KDevelop::Path CMakeCacheModel::filePath() const |
| 208 | { |
no test coverage detected