uiservicetab/vimpstui/src/cvimpstuiblockviewcontrol.cpp
branchRCL_3
changeset 14 9fdee5e1da30
parent 10 78867dafe7eb
--- a/uiservicetab/vimpstui/src/cvimpstuiblockviewcontrol.cpp	Wed Mar 31 21:14:49 2010 +0300
+++ b/uiservicetab/vimpstui/src/cvimpstuiblockviewcontrol.cpp	Wed Apr 14 15:46:18 2010 +0300
@@ -28,6 +28,7 @@
 #include <vimpstuires.rsg>
 
 #include <MPbk2KeyEventHandler.h>
+#include "uiservicetabtracer.h"
 
 
 // ================= MEMBER FUNCTIONS =======================
@@ -55,6 +56,7 @@
 //
 void CVIMPSTUiBlockViewControl::ConstructL()
     {
+	TRACER_AUTO;
     CreateWindowL();
     iItemArray = new ( ELeave ) CDesCArrayFlat( KArrayGranularity );   
     // Create listbox
@@ -201,6 +203,7 @@
 //
 void CVIMPSTUiBlockViewControl::UpdateBlockedListL()
     {
+	TRACER_AUTO;
 	iItemArray->Reset();
 	
 	TInt granularity( iItemArray->Count() );
@@ -269,6 +272,7 @@
 //
 HBufC* CVIMPSTUiBlockViewControl::GetFocusedContactLC() const
 	{
+	TRACER_AUTO;
 	HBufC* retText = NULL;
 	TInt curIndex = iListBox->CurrentItemIndex();
 	if(KErrNotFound != curIndex)
@@ -302,6 +306,7 @@
 //
 void CVIMPSTUiBlockViewControl::SetCurrentIndex(TInt aIndex)
 	{
+	TRACER_AUTO;
 	if(aIndex>0)
 		{
 	    TInt blockedCount = iListBox->Model()->NumberOfItems();
@@ -321,6 +326,7 @@
 //
 void CVIMPSTUiBlockViewControl::UpdateCbaL()
     {
+	TRACER_AUTO;
     TInt cbaRes = R_SERVTAB_SOFTKEYS_EMPTY_EMPTY__BACK;    
     if ( !iCba ) 
 	    {
@@ -343,6 +349,7 @@
 TKeyResponse CVIMPSTUiBlockViewControl::OfferKeyEventL( const TKeyEvent& aKeyEvent,
 													TEventCode aType )
 	{
+	TRACER_AUTO;
 	if ( !aKeyEvent.iCode ) 
 	        {
 	        //The character code generated 
@@ -409,6 +416,7 @@
 //
 void CVIMPSTUiBlockViewControl::SetEmptyTextsToListboxL()
     {    
+	TRACER_AUTO;
     HBufC* emptyFinal = VIMPSTUtils::LoadResourceL(R_SERVTAB_BLOCKLIST_BKGD);
     CleanupStack::PushL(emptyFinal);
     iListBox->View()->SetListEmptyTextL( *emptyFinal );
@@ -421,7 +429,8 @@
 // ---------------------------------------------------------------------------
 //
 void CVIMPSTUiBlockViewControl::SetUpdatingTextsToListboxL()
-    {    
+    {   
+	TRACER_AUTO;
     HBufC* updating = VIMPSTUtils::LoadResourceL(R_SERVTAB_BLOCKLIST_BKGDTO);
     CleanupStack::PushL(updating);
     iListBox->View()->SetListEmptyTextL( *updating );