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

@@ -76,7 +76,7 @@ bool RimColorLegendCollection::isStandardColorLegend( RimColorLegend* legend )
//--------------------------------------------------------------------------------------------------
void RimColorLegendCollection::deleteCustomColorLegends()
{
m_customColorLegends.deleteAllChildObjects();
m_customColorLegends.deleteChildren();
}
//--------------------------------------------------------------------------------------------------
@@ -138,13 +138,13 @@ std::vector<RimColorLegend*> RimColorLegendCollection::allColorLegends() const
{
std::vector<RimColorLegend*> allLegends;
auto standardLegends = m_standardColorLegends.childObjects();
auto standardLegends = m_standardColorLegends.children();
for ( auto l : standardLegends )
{
allLegends.push_back( l );
}
auto customLegends = m_customColorLegends.childObjects();
auto customLegends = m_customColorLegends.children();
for ( auto l : customLegends )
{
allLegends.push_back( l );