29 const auto& childIdx = Model_->index (row, 0, SrcIdx_);
30 Children_ [row] = std::make_shared<ModelItem> (Model_, childIdx, shared_from_this ());
41 if (SrcIdx_.isValid ())
42 SrcIdx_ = Model_->index (
GetRow () - modelStartingRow, 0,
Parent_.lock ()->GetIndex ());
52 index = index.sibling (index.row (), 0);
55 [&index] (
const ModelItem_ptr& item) { return item->GetIndex () == index; });