phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 23 5586b4d2ec3e
equal deleted inserted replaced
15:e8e3147d53eb 21:b3431bff8c19
   143 // CPbkxRclSearchResultListBox::MakeViewClassInstanceL
   143 // CPbkxRclSearchResultListBox::MakeViewClassInstanceL
   144 // ---------------------------------------------------------------------------
   144 // ---------------------------------------------------------------------------
   145 //
   145 //
   146 CListBoxView* CPbkxRclSearchResultListBox::MakeViewClassInstanceL()
   146 CListBoxView* CPbkxRclSearchResultListBox::MakeViewClassInstanceL()
   147     {
   147     {
   148     return ( new (ELeave) CPbkxRclSearchResultListView() );
   148 
       
   149 //This strange old override below (returning class CPbkxRclSearchResultListView) causes on hardware empty 
       
   150 //list text not to draw. Most likely no need for this kind override at all.
       
   151 //To fix draw this override is not used (however is part of pbk2rclengine api
       
   152 //and therefore not removed completely)
       
   153 //    return ( new (ELeave) CPbkxRclSearchResultListView() );
       
   154 
       
   155     return ( new (ELeave) CAknColumnListBoxView() );    
   149     }
   156     }
   150 
   157 
   151 ////////////////////////////////////////////////////////////////////////////
   158 ////////////////////////////////////////////////////////////////////////////
   152 // CPbkxRclSearchResultItemDrawer
   159 // CPbkxRclSearchResultItemDrawer
   153 ////////////////////////////////////////////////////////////////////////////
   160 ////////////////////////////////////////////////////////////////////////////
   252         aItemIsSelected );
   259         aItemIsSelected );
   253     // Safe to ignore error
   260     // Safe to ignore error
   254     TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( skinEnabled ) );
   261     TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( skinEnabled ) );
   255     }
   262     }
   256 
   263 
       
   264 
       
   265 
       
   266 //This strange old override below (CPbkxRclSearchResultListView) causes on hardware empty 
       
   267 //list text not to draw. Most likely no need for this kind override at all.
       
   268 //To fix draw this override is not used (however is part of pbk2rclengine api
       
   269 //and therefore not removed completely)
   257 ////////////////////////////////////////////////////////////////////////////
   270 ////////////////////////////////////////////////////////////////////////////
   258 // CPbkxRclSearchResultListView
   271 // CPbkxRclSearchResultListView
   259 ////////////////////////////////////////////////////////////////////////////
   272 ////////////////////////////////////////////////////////////////////////////
   260 
   273 
   261 // ---------------------------------------------------------------------------
   274 // ---------------------------------------------------------------------------