MCPcopy Create free account
hub / github.com/KDE/kdevelop / toString

Method toString

kdevplatform/language/duchain/problem.cpp:222–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222QString 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
237void Problem::rebuildDynamicData(DUContext* parent, uint ownIndex)
238{

Callers 15

BreakpointMethod · 0.45
setDataMethod · 0.45
locationMethod · 0.45
operator<<Function · 0.45
valueMethod · 0.45
typeMethod · 0.45
lessThanMethod · 0.45
setDataMethod · 0.45
validateMethod · 0.45

Calls 4

urlFunction · 0.85
rangeFunction · 0.85
strMethod · 0.80
isEmptyMethod · 0.45

Tested by 15

debugItemModelFunction · 0.36
testCreateTargetItemsMethod · 0.36
testItemSanityMethod · 0.36
testProjectProxyModelMethod · 0.36
descriptionParsingMethod · 0.36
templateIndexesMethod · 0.36
customOptionsMethod · 0.36
initMethod · 0.36
toStringFunction · 0.36
runTestsFunction · 0.36