photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp
changeset 3 9a9c174934f5
parent 2 7d9067c6fcb1
child 9 6b87b143d312
equal deleted inserted replaced
2:7d9067c6fcb1 3:9a9c174934f5
    41 #include <glxmedialistmulmodelprovider.h>	//CGlxMediaListMulModelProvider
    41 #include <glxmedialistmulmodelprovider.h>	//CGlxMediaListMulModelProvider
    42 #include <aknViewAppUi.h>
    42 #include <aknViewAppUi.h>
    43 #include <StringLoader.h>					//StringLoader		
    43 #include <StringLoader.h>					//StringLoader		
    44 #include <glxsetappstate.h>
    44 #include <glxsetappstate.h>
    45 #include <glxthumbnailattributeinfo.h>
    45 #include <glxthumbnailattributeinfo.h>
       
    46 #include <glxcollectionpluginalbums.hrh>
    46 
    47 
    47 const TInt KListDataWindowSize(25);
    48 const TInt KListDataWindowSize(25);
    48 const TInt KNoOfPages(2);
    49 const TInt KNoOfPages(2);
    49 const TInt KBufferTresholdSize(6);
    50 const TInt KBufferTresholdSize(6);
    50 const TInt KRecreateListSize(5);
    51 const TInt KRecreateListSize(5);
   572             }		
   573             }		
   573         
   574         
   574 		//Fix for ESLM-7SAHPT::Clear Flag to Disable QWERTY search input in list view
   575 		//Fix for ESLM-7SAHPT::Clear Flag to Disable QWERTY search input in list view
   575 		iList->ClearFlags(CHgScroller::EHgScrollerSearchWithQWERTY ); 
   576 		iList->ClearFlags(CHgScroller::EHgScrollerSearchWithQWERTY ); 
   576 		
   577 		
       
   578         // Set the scrollbar type for albums list
       
   579         CMPXCollectionPath* path = iMediaList->PathLC( NGlxListDefs::EPathParent );
       
   580         if (path->Id() == KGlxCollectionPluginAlbumsImplementationUid)
       
   581             {
       
   582             iList->SetScrollBarTypeL(CHgScroller::EHgScrollerLetterStripLite );
       
   583             }
       
   584         CleanupStack::PopAndDestroy(path);
       
   585         
   577 		AppUi()->AddToStackL(iList);
   586 		AppUi()->AddToStackL(iList);
   578 		}
   587 		}
   579 		
   588 		
   580 	if (mediaCount)
   589 	if (mediaCount)
   581 	    {
   590 	    {