MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / removeAt

Method removeAt

3rdparty/qcustomplot/qcustomplot.cpp:3739–3747  ·  view source on GitHub ↗

! Removes and deletes the element at the provided \a index. Returns true on success. If \a index is invalid or points to an empty cell, returns false. This function internally uses \ref takeAt to remove the element from the layout and then deletes the returned element. Note that some layouts don't remove the respective cell right away but leave an empty cell after successful removal o

Source from the content-addressed store, hash-verified

3737 \see remove, takeAt
3738*/
3739bool QCPLayout::removeAt(int index)
3740{
3741 if (QCPLayoutElement *el = takeAt(index))
3742 {
3743 delete el;
3744 return true;
3745 } else
3746 return false;
3747}
3748
3749/*!
3750 Removes and deletes the provided \a element. Returns true on success. If \a element is not in the

Callers 12

qcustomplot.cppFile · 0.45
simplifyMethod · 0.45
takeAtMethod · 0.45
removeRowMethod · 0.45
removeRowMethod · 0.45
removeRowMethod · 0.45
removeRowMethod · 0.45
QMenuEditorMethod · 0.45
removeRuleMethod · 0.45
onAppRemovedMethod · 0.45
onAppRemovedMethod · 0.45
onAppRemovedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected