photosgallery/viewframework/dataprovider/src/glxmedialistmulmodelproviderimpl.cpp
equal
deleted
inserted
replaced
133 void CGlxMediaListMulModelProviderImpl::HandleBindingChanged( |
133 void CGlxMediaListMulModelProviderImpl::HandleBindingChanged( |
134 const CGlxBinding& aBinding ) |
134 const CGlxBinding& aBinding ) |
135 { |
135 { |
136 TRACER("CGlxMediaListMulModelProviderImpl::HandleBindingChanged"); |
136 TRACER("CGlxMediaListMulModelProviderImpl::HandleBindingChanged"); |
137 SetDataT( aBinding, iMediaList.Item(iMediaList.FocusIndex()), |
137 SetDataT( aBinding, iMediaList.Item(iMediaList.FocusIndex()), |
138 iMediaList.FocusIndex() ); |
138 iMediaList.FocusIndex(), iMediaList); |
139 |
139 |
140 } |
140 } |
141 |
141 |
142 // ---------------------------------------------------------------------------- |
142 // ---------------------------------------------------------------------------- |
143 // HandleFocusChanged |
143 // HandleFocusChanged |
283 |
283 |
284 if( KErrNotFound != iMediaList.FocusIndex() ) |
284 if( KErrNotFound != iMediaList.FocusIndex() ) |
285 { |
285 { |
286 for(int i = aIndex; i < aIndex + aCount ; i++) |
286 for(int i = aIndex; i < aIndex + aCount ; i++) |
287 { |
287 { |
288 SetDataT( *iBindingSet, iMediaList.Item(i), i ); |
288 SetDataT( *iBindingSet, iMediaList.Item(i), i, iMediaList); |
289 } |
289 } |
290 } |
290 } |
291 else |
291 else |
292 return; |
292 return; |
293 |
293 |