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

Method toList

kdevplatform/util/kdevvarlengtharray.h:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47template<class T, int Prealloc>
48Q_OUTOFLINE_TEMPLATE QList<T> KDevVarLengthArray<T, Prealloc>::toList() const
49{
50 QList<T> ret;
51 ret.reserve(Base::size());
52 const T* const end = Base::constEnd();
53 for (const T* it = Base::constBegin(); it != end; ++it) {
54 ret << *it;
55 }
56
57 return ret;
58}
59
60template<class T, int Prealloc>
61Q_OUTOFLINE_TEMPLATE QVector<T> KDevVarLengthArray<T, Prealloc>::toVector() const

Callers 15

loadFromSessionMethod · 0.45
loadFromProjectMethod · 0.45
statusReadyMethod · 0.45
VCSDiffPatchSourceMethod · 0.45
jobReceivedResultsMethod · 0.45
addLinesMethod · 0.45
mixedMethod · 0.45
retrieveReposMethod · 0.45
retrieveOrgsMethod · 0.45
testAnnotationMethod · 0.45
statusReadyMethod · 0.45
testAnnotationMethod · 0.45

Calls 2

sizeFunction · 0.50
reserveMethod · 0.45

Tested by 6

mixedMethod · 0.36
testAnnotationMethod · 0.36
testAnnotationMethod · 0.36
doTestResultMethod · 0.36
createTestSuitesMethod · 0.36