mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename several child() and children() functions
This commit is contained in:
@@ -60,7 +60,7 @@ RimFlowPlotCollection::~RimFlowPlotCollection()
|
||||
{
|
||||
delete m_defaultWellAllocPlot();
|
||||
|
||||
m_storedWellAllocPlots.deleteAllChildObjects();
|
||||
m_storedWellAllocPlots.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -78,8 +78,8 @@ void RimFlowPlotCollection::deleteAllPlots()
|
||||
// delete m_dbgWellDistributionPlot;
|
||||
delete m_wellDistributionPlotCollection;
|
||||
|
||||
m_storedWellAllocPlots.deleteAllChildObjects();
|
||||
m_storedFlowCharacteristicsPlots.deleteAllChildObjects();
|
||||
m_storedWellAllocPlots.deleteChildren();
|
||||
m_storedFlowCharacteristicsPlots.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -99,7 +99,7 @@ RimWellDistributionPlotCollection::RimWellDistributionPlotCollection()
|
||||
RimWellDistributionPlotCollection::~RimWellDistributionPlotCollection()
|
||||
{
|
||||
removeMdiWindowFromMdiArea();
|
||||
m_plots.deleteAllChildObjects();
|
||||
m_plots.deleteChildren();
|
||||
|
||||
cleanupBeforeClose();
|
||||
}
|
||||
@@ -384,7 +384,7 @@ void RimWellDistributionPlotCollection::updatePlots()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellDistributionPlotCollection::cleanupBeforeClose()
|
||||
{
|
||||
auto plotVector = m_plots.childObjects();
|
||||
auto plotVector = m_plots.children();
|
||||
for ( size_t tIdx = 0; tIdx < plotVector.size(); ++tIdx )
|
||||
{
|
||||
plotVector[tIdx]->detachAllCurves();
|
||||
|
||||
@@ -1045,7 +1045,7 @@ void RimWellPltPlot::initAfterLoad()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPltPlot::syncSourcesIoFieldFromGuiField()
|
||||
{
|
||||
m_selectedSourcesForIo.clear();
|
||||
m_selectedSourcesForIo.clearWithoutDelete();
|
||||
|
||||
for ( const RifDataSourceForRftPlt& addr : m_selectedSources() )
|
||||
{
|
||||
|
||||
@@ -1360,7 +1360,7 @@ void RimWellRftPlot::createEnsembleCurveSets()
|
||||
|
||||
for ( RimWellRftEnsembleCurveSet* curveSet : curveSetsToDelete )
|
||||
{
|
||||
m_ensembleCurveSets.removeChildObject( curveSet );
|
||||
m_ensembleCurveSets.removeChild( curveSet );
|
||||
delete curveSet;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user