Rename several child() and children() functions

This commit is contained in:
Magne Sjaastad
2022-05-31 13:08:07 +02:00
parent c199f960e3
commit c74701b687
179 changed files with 429 additions and 431 deletions

View File

@@ -47,7 +47,7 @@ Rim2dIntersectionViewCollection::~Rim2dIntersectionViewCollection()
//--------------------------------------------------------------------------------------------------
std::vector<Rim2dIntersectionView*> Rim2dIntersectionViewCollection::views()
{
return m_intersectionViews.childObjects();
return m_intersectionViews.children();
}
//--------------------------------------------------------------------------------------------------
@@ -73,7 +73,7 @@ void Rim2dIntersectionViewCollection::syncFromExistingIntersections( bool doUpda
// Clean up the container by removing nullptr's
m_intersectionViews.removeChildObject( nullptr );
m_intersectionViews.removeChild( nullptr );
// Build map from intersection to view
@@ -84,7 +84,7 @@ void Rim2dIntersectionViewCollection::syncFromExistingIntersections( bool doUpda
intersectionToViewMap[iv->intersection()] = iv;
}
m_intersectionViews.clear(); // Not deleting the views. The are managed by the map
m_intersectionViews.clearWithoutDelete(); // Not deleting the views. The are managed by the map
// Insert the old views in correct order, and create new views as we go