| 220 | } |
| 221 | |
| 222 | QString Problem::toString() const |
| 223 | { |
| 224 | return i18nc("<severity>: <description> in <url>:[<range>]: <explanation> (found by <source>)", |
| 225 | "%1: %2 in %3:[(%4,%5),(%6,%7)]: %8 (found by %9)", |
| 226 | severityString(), |
| 227 | description(), |
| 228 | url().str(), |
| 229 | range().start.line, |
| 230 | range().start.column, |
| 231 | range().end.line, |
| 232 | range().end.column, |
| 233 | (explanation().isEmpty() ? i18n("<no explanation>") : explanation()), |
| 234 | sourceString()); |
| 235 | } |
| 236 | |
| 237 | void Problem::rebuildDynamicData(DUContext* parent, uint ownIndex) |
| 238 | { |