mpviewplugins/mpcollectionviewplugin/inc/mpcollectionview.h
changeset 43 0f32e550d9d8
parent 38 b93f525c9244
child 51 560ce2306a17
equal deleted inserted replaced
38:b93f525c9244 43:0f32e550d9d8
    53     void activateView();
    53     void activateView();
    54     void deactivateView();
    54     void deactivateView();
    55     void setDefaultView();
    55     void setDefaultView();
    56     bool isActivated();    
    56     bool isActivated();    
    57     void openItem( int index );
    57     void openItem( int index );
       
    58     void showItemDetails( int index );
    58 
    59 
    59 signals:
    60 signals:
    60 
    61 
    61     void command( int command );
    62     void command( int command );
    62 
    63 
    99     void handleUsbBlocked( bool blocked );
   100     void handleUsbBlocked( bool blocked );
   100     void handleLibraryAboutToUpdate();
   101     void handleLibraryAboutToUpdate();
   101     void handleLibraryUpdated();
   102     void handleLibraryUpdated();
   102 
   103 
   103     void setShuffleAction( bool enabled );
   104     void setShuffleAction( bool enabled );
       
   105     
       
   106     void containerDataChanged();
   104 
   107 
   105 private:
   108 private:
   106 
   109 
   107     void setMainToolBar();
   110     void setMainToolBar();
   108     void setPlaylistToolBar();
   111     void setPlaylistToolBar();
   109 
   112 
   110     HbAction *createToolBarAction( QActionGroup *actionsGroup,
   113     HbAction *createToolBarAction( QActionGroup *actionsGroup,
   111         const QString& icon, const QString& objectName );
   114         const QString& icon, const QString& objectName );
   112 
   115 
   113     void updateMenu();
   116     void updateMenu();
       
   117     void addDefaultMenuOptions( HbMenu *menu, bool optRefresh, bool optExit );
   114     void updateToolBar();
   118     void updateToolBar();
   115     void setSoftkey();
   119     void setSoftkey();
   116 
   120 
   117     void setBannerVisibility( bool visible );
   121     void setBannerVisibility( bool visible );
   118     int generateShuffleIndex();
   122     int generateShuffleIndex();