| 171 | } |
| 172 | |
| 173 | QString ProjectFileData::project() const |
| 174 | { |
| 175 | const IProject* project = ICore::self()->projectController()->findProjectForUrl(m_file.path.toUrl()); |
| 176 | if (project) { |
| 177 | return project->name(); |
| 178 | } else { |
| 179 | return i18nc("@item no project", "none"); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | Path ProjectFileData::projectPath() const |
| 184 | { |
no test coverage detected