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

@@ -96,7 +96,7 @@ void RimWellPathAttributeCollection::insertAttribute( RimWellPathAttribute* inse
//--------------------------------------------------------------------------------------------------
void RimWellPathAttributeCollection::deleteAttribute( RimWellPathAttribute* attributeToDelete )
{
m_attributes.removeChildObject( attributeToDelete );
m_attributes.removeChild( attributeToDelete );
delete attributeToDelete;
this->updateAllReferringTracks();
@@ -107,7 +107,7 @@ void RimWellPathAttributeCollection::deleteAttribute( RimWellPathAttribute* attr
//--------------------------------------------------------------------------------------------------
void RimWellPathAttributeCollection::deleteAllAttributes()
{
m_attributes.deleteAllChildObjects();
m_attributes.deleteChildren();
this->updateAllReferringTracks();
}