| 349 | } |
| 350 | |
| 351 | QString CodeRepresentation::artificialPath(const QString& name) |
| 352 | { |
| 353 | QUrl url = QUrl::fromLocalFile(name); |
| 354 | return QLatin1String("/kdev-artificial/") + url.adjusted(QUrl::NormalizePathSegments).path(); |
| 355 | } |
| 356 | |
| 357 | InsertArtificialCodeRepresentation::InsertArtificialCodeRepresentation(const IndexedString& file, |
| 358 | const QString& text) |