| 216 | } |
| 217 | |
| 218 | void PartDocument::setPrettyName(const QString& name) |
| 219 | { |
| 220 | KDevelop::IDocument::setPrettyName(name); |
| 221 | // Re-set the url, to trigger the whole chain |
| 222 | if(!name.isEmpty()) |
| 223 | setTitle(name); |
| 224 | else |
| 225 | setTitle(url().fileName()); |
| 226 | } |
| 227 | |
| 228 | QMap<QWidget*, KParts::Part*> PartDocument::partForView() const |
| 229 | { |
no test coverage detected