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

Method text

kdevplatform/language/editor/persistentmovingrange.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57QString KDevelop::PersistentMovingRange::text() const
58{
59 VERIFY_FOREGROUND_LOCKED;
60
61 if (m_p->m_movingRange)
62 return m_p->m_movingRange->document()->text(m_p->m_movingRange->toRange());
63
64 return QString();
65}
66
67bool KDevelop::PersistentMovingRange::valid() const
68{

Callers

nothing calls this directly

Calls 3

toRangeMethod · 0.80
QStringClass · 0.70
documentMethod · 0.45

Tested by

no test coverage detected