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

Function index

kdevplatform/shell/problemstorenode.h:63–70  ·  view source on GitHub ↗

Returns the index of this node in the parent's child list.

Source from the content-addressed store, hash-verified

61
62 /// Returns the index of this node in the parent's child list.
63 int index()
64 {
65 if(!m_parent)
66 return -1;
67
68 const QVector<ProblemStoreNode*> &children = m_parent->children();
69 return children.indexOf(this);
70 }
71
72 /// Returns the parent of this node
73 ProblemStoreNode* parent() const{

Callers 15

indexForConfigMethod · 0.70
breakpointIndexMethod · 0.50
parentMethod · 0.50
currentThreadIndexMethod · 0.50
currentFrameIndexMethod · 0.50
setDefaultProfileMethod · 0.50
takeRowMethod · 0.50
removeRowsMethod · 0.50
setTextMethod · 0.50
appendRowMethod · 0.50
setFlagsMethod · 0.50
pathToIndexMethod · 0.50

Calls 2

childrenMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected