mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Rename several child() and children() functions
This commit is contained in:
1 parent
c199f960e3
commit
c74701b687
179 files changed
+429
-431
No files matched your search
@@ -123,7 +123,7 @@ void CmdAddItemExec::undo()
|
||||
if ( listField && m_commandData->m_createdItemIndex >= 0 )
|
||||
{
|
||||
std::vector<caf::PdmObjectHandle*> children;
|
||||
listField->childObjects( &children );
|
||||
listField->children( &children );
|
||||
|
||||
caf::PdmObjectHandle* obj = children[m_commandData->m_createdItemIndex];
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ void CmdDeleteItemExec::redo()
|
||||
if ( listField )
|
||||
{
|
||||
std::vector<PdmObjectHandle*> children;
|
||||
listField->childObjects( &children );
|
||||
listField->children( &children );
|
||||
|
||||
PdmObjectHandle* obj = children[m_commandData->m_indexToObject];
|
||||
caf::SelectionManager::instance()->removeObjectFromAllSelections( obj );
|
||||
|
||||
@@ -79,7 +79,7 @@ CmdExecuteCommand* CmdDeleteItemFeature::createExecuteCommand()
|
||||
int indexAfter = -1;
|
||||
|
||||
std::vector<PdmObjectHandle*> childObjects;
|
||||
childArrayFieldHandle->childObjects( &childObjects );
|
||||
childArrayFieldHandle->children( &childObjects );
|
||||
|
||||
for ( size_t i = 0; i < childObjects.size(); i++ )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user