mpviewplugins/mpcollectionviewplugin/src/mpcollectioncontainerallsongs.cpp
changeset 35 fdb31ab341af
parent 20 82baf59ce8dd
child 32 c163ef0b758d
equal deleted inserted replaced
34:2c5162224003 35:fdb31ab341af
    43 MpCollectionContainerAllSongs::MpCollectionContainerAllSongs( HbDocumentLoader *loader, QGraphicsItem *parent )
    43 MpCollectionContainerAllSongs::MpCollectionContainerAllSongs( HbDocumentLoader *loader, QGraphicsItem *parent )
    44     : MpCollectionListContainer(loader, parent),
    44     : MpCollectionListContainer(loader, parent),
    45       mInfoBar(0)
    45       mInfoBar(0)
    46 {
    46 {
    47     TX_LOG
    47     TX_LOG
       
    48     mCollectionContext = ECollectionContextAllSongs;
    48 }
    49 }
    49 
    50 
    50 /*!
    51 /*!
    51  Destructs the collection container.
    52  Destructs the collection container.
    52  */
    53  */
    82         mIndexFeedback->setItemView(mList);
    83         mIndexFeedback->setItemView(mList);
    83         initializeList();
    84         initializeList();
    84 
    85 
    85         QString details;
    86         QString details;
    86         if ( mViewMode == MpCommon::FetchView ) {
    87         if ( mViewMode == MpCommon::FetchView ) {
    87             details = "Select a song";
    88             details = hbTrId("txt_mus_subtitle_select_a_song");
    88         }
    89         }
    89         else {
    90         else {
    90             int count = mCollectionData->count();
    91             int count = mCollectionData->count();
    91             details = hbTrId("txt_mus_subhead_ln_songs", count);
    92             details = hbTrId("txt_mus_subhead_ln_songs", count);
    92         }
    93         }