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

Function toString

kdevplatform/language/editor/documentrange.h:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49namespace QTest {
50template <>
51inline char* toString(const KDevelop::DocumentRange& documentRange)
52{
53 auto range = QTest::toString(*static_cast<const KTextEditor::Range*>(&documentRange));
54 QByteArray ba = "DocumentRange[range=" + QByteArray::fromRawData(range, strlen(range))
55 + ", document=" + documentRange.document.toUrl().toDisplayString().toLatin1() + "]";
56 delete[] range;
57 return qstrdup(ba.data());
58}
59}
60
61#endif // KDEVPLATFORM_DOCUMENTRANGE_H

Callers 13

toStringMethod · 0.50
setAbstractTypeMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50
containerToStringMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50
toStringMethod · 0.50

Calls 2

toUrlMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected