Rename several child() and children() functions

This commit is contained in:
Magne Sjaastad committed 2022-05-31 15:05:07 +02:00
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++ )
{