mpviewplugins/mpcollectionviewplugin/inc/mpcollectionview.h
changeset 41 ea59c434026a
parent 32 c163ef0b758d
child 38 b93f525c9244
equal deleted inserted replaced
32:c163ef0b758d 41:ea59c434026a
    37 class MpEngine;
    37 class MpEngine;
    38 class MpMpxCollectionData;
    38 class MpMpxCollectionData;
    39 class MpNowPlayingWidget;
    39 class MpNowPlayingWidget;
    40 class MpSnapshotWidget;
    40 class MpSnapshotWidget;
    41 class MpCollectionPopupHandler;
    41 class MpCollectionPopupHandler;
    42 class QTranslator;
       
    43 
    42 
    44 class MpCollectionView : public MpViewBase
    43 class MpCollectionView : public MpViewBase
    45 {
    44 {
    46     Q_OBJECT
    45     Q_OBJECT
    47 
    46 
    82     void startPlaybackView();
    81     void startPlaybackView();
    83     void attachNowPlayingBanner( bool active );
    82     void attachNowPlayingBanner( bool active );
    84     void containerTransitionComplete( const HbEffect::EffectStatus &status );
    83     void containerTransitionComplete( const HbEffect::EffectStatus &status );
    85 
    84 
    86     void shufflePlayAll();
    85     void shufflePlayAll();
    87     void refreshLibrary();
       
    88     void addToPlaylist();
    86     void addToPlaylist();
    89     void deleteSongs();
    87     void deleteSongs();
    90     void renameCurrentPlaylistContainer();
    88     void renameCurrentPlaylistContainer();
    91 
    89 
    92     void playlistSaved( bool success );
    90     void playlistSaved( bool success );
   117     void setSoftkey();
   115     void setSoftkey();
   118 
   116 
   119     void setBannerVisibility( bool visible );
   117     void setBannerVisibility( bool visible );
   120     int generateShuffleIndex();
   118     int generateShuffleIndex();
   121     void startContainerTransition( TCollectionContext contextFrom, TCollectionContext contextTo );
   119     void startContainerTransition( TCollectionContext contextFrom, TCollectionContext contextTo );
   122     void cancelOngoingOperation();
   120     void closeActiveDialog( bool onlyContextMenu = false );
   123 
   121 
   124 private:
   122 private:
   125 
   123 
   126     TCollectionContext              mCollectionContext;
   124     TCollectionContext              mCollectionContext;
   127 
   125 
   148     HbToolBar                       *mMainToolBar;
   146     HbToolBar                       *mMainToolBar;
   149     HbToolBar                       *mPlaylistToolBar;
   147     HbToolBar                       *mPlaylistToolBar;
   150 
   148 
   151     MpSnapshotWidget                *mSnapshot;
   149     MpSnapshotWidget                *mSnapshot;
   152 
   150 
   153     QTranslator                     *mMpTranslator;         // Own
       
   154     QTranslator                     *mCommonTranslator;     // Own
       
   155 
       
   156     bool                            mActivationWaiting;
   151     bool                            mActivationWaiting;
   157     MpCollectionPopupHandler        *mMpPopupHandler;       // Own
   152     MpCollectionPopupHandler        *mMpPopupHandler;       // Own
   158 
   153 
   159     bool                            mUsbBlocked;
   154     bool                            mUsbBlocked;
   160 
   155