equal
deleted
inserted
replaced
1387 |
1387 |
1388 } |
1388 } |
1389 } |
1389 } |
1390 |
1390 |
1391 // --------------------------------------------------------- |
1391 // --------------------------------------------------------- |
1392 // CVIMPSTUiDoubleListBoxTabViewControl::HandleAvatarDeleteL() |
1392 // CVIMPSTUiDoubleListBoxTabViewControl::HandleAvatarRefreshL() |
1393 // Saves the Contact ID in iFocussedID |
1393 // Saves the Contact ID in iFocussedID |
1394 // --------------------------------------------------------- |
1394 // --------------------------------------------------------- |
1395 void CVIMPSTUiDoubleListBoxTabViewControl::HandleAvatarDeleteL( const TDesC& aUserId ) |
1395 void CVIMPSTUiDoubleListBoxTabViewControl::HandleAvatarRefreshL( const TDesC& aUserId,TBool aBlock ) |
1396 { |
1396 { |
1397 TRACER_AUTO; |
1397 TRACER_AUTO; |
|
1398 if(aBlock) |
|
1399 { |
|
1400 TRACE("inside blocking"); |
1398 TInt index = iArrayProcess.GetSelectedItemIndex(aUserId );//Get the index from storage. |
1401 TInt index = iArrayProcess.GetSelectedItemIndex(aUserId );//Get the index from storage. |
1399 if(index >= 0) |
1402 if(index >= 0) |
1400 { |
1403 { |
1401 CFormattedCellListBoxData* listBoxData = iListBox->ItemDrawer()->ColumnData(); |
1404 CFormattedCellListBoxData* listBoxData = iListBox->ItemDrawer()->ColumnData(); |
1402 CArrayPtr<CGulIcon>* currentIconArray = listBoxData->IconArray(); |
1405 CArrayPtr<CGulIcon>* currentIconArray = listBoxData->IconArray(); |
1418 iArrayProcess.SetAvatarIndex( index , KErrNone ); |
1421 iArrayProcess.SetAvatarIndex( index , KErrNone ); |
1419 |
1422 |
1420 } |
1423 } |
1421 } |
1424 } |
1422 |
1425 |
|
1426 else |
|
1427 { |
|
1428 TRACE("inside unblocking calling handleavatarchangel"); |
|
1429 HandleAvatarChangeL(aUserId); |
|
1430 } |
|
1431 |
|
1432 } |
|
1433 |
|
1434 |
1423 // End of File |
1435 // End of File |