| 232 | } |
| 233 | |
| 234 | bool KDevDocumentView::selectedDocHasChanges() |
| 235 | { |
| 236 | KDevelop::IDocumentController* dc = m_plugin->core()->documentController(); |
| 237 | for (const QUrl& url : std::as_const(m_selectedDocs)) { |
| 238 | KDevelop::IDocument* doc = dc->documentForUrl(url); |
| 239 | if (!doc) continue; |
| 240 | if (doc->state() != KDevelop::IDocument::Clean) |
| 241 | { |
| 242 | return true; |
| 243 | } |
| 244 | } |
| 245 | return false; |
| 246 | } |
| 247 | |
| 248 | void KDevDocumentView::updateSelectedDocs() |
| 249 | { |
nothing calls this directly
no test coverage detected