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

@@ -70,15 +70,15 @@ void RimVfpPlotCollection::insertPlot( RimVfpPlot* vfpPlot, size_t index )
//--------------------------------------------------------------------------------------------------
std::vector<RimVfpPlot*> RimVfpPlotCollection::plots() const
{
return m_vfpPlots.childObjects();
return m_vfpPlots.children();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimVfpPlotCollection::deleteAllChildObjects()
void RimVfpPlotCollection::deleteChildren()
{
m_vfpPlots.deleteAllChildObjects();
m_vfpPlots.deleteChildren();
}
//--------------------------------------------------------------------------------------------------
@@ -94,6 +94,6 @@ size_t RimVfpPlotCollection::plotCount() const
//--------------------------------------------------------------------------------------------------
void RimVfpPlotCollection::removePlot( RimVfpPlot* vfpPlot )
{
m_vfpPlots.removeChildObject( vfpPlot );
m_vfpPlots.removeChild( vfpPlot );
updateAllRequiredEditors();
}