MCPcopy Create free account
hub / github.com/KDE/labplot / addChild

Method addChild

src/backend/datapicker/DatapickerImage.cpp:508–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508bool DatapickerImage::addChild(AbstractAspect* child) {
509 if (dynamic_cast<DatapickerPoint*>(child) && children<DatapickerPoint>(AbstractAspect::ChildIndexFlag::IncludeHidden).count() >= 3)
510 return false;
511
512 return AbstractAspect::addChild(child);
513}
514
515void DatapickerImage::datapickerPointChanged(const DatapickerPoint* point) {
516 const auto index = indexOfChild<DatapickerPoint>(point, AbstractAspect::ChildIndexFlag::IncludeHidden);

Callers 15

importToMethod · 0.45
moveFolderMethod · 0.45
loadGraphLayerMethod · 0.45
parseMethod · 0.45
scanAttrsMethod · 0.45
scanDimsMethod · 0.45
scanVarsMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
scanHDF5DataTypeMethod · 0.45
scanHDF5DataSetMethod · 0.45
scanHDF5LinkMethod · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected