mpviewplugins/mpcollectionviewplugin/inc/mpcollectioncontainerartists.h
changeset 35 fdb31ab341af
parent 34 2c5162224003
child 32 c163ef0b758d
equal deleted inserted replaced
34:2c5162224003 35:fdb31ab341af
    19 #define MPCOLLECTIONCONTAINERARTISTS_H
    19 #define MPCOLLECTIONCONTAINERARTISTS_H
    20 
    20 
    21 #include "mpcollectionlistcontainer.h"
    21 #include "mpcollectionlistcontainer.h"
    22 
    22 
    23 class HbGroupBox;
    23 class HbGroupBox;
       
    24 class HgMediawall;
       
    25 class MpCollectionTBoneListDataModel;
    24 
    26 
    25 class MpCollectionContainerArtists : public MpCollectionListContainer
    27 class MpCollectionContainerArtists : public MpCollectionListContainer
    26 {
    28 {
    27     Q_OBJECT
    29     Q_OBJECT
    28 
    30 
    29 public:
    31 public:
    30 
    32 
    31     explicit MpCollectionContainerArtists( HbDocumentLoader *loader, QGraphicsItem *parent=0 );
    33     explicit MpCollectionContainerArtists( HbDocumentLoader *loader, QGraphicsItem *parent=0 );
    32     virtual ~MpCollectionContainerArtists();
    34     virtual ~MpCollectionContainerArtists();
    33 
    35 
       
    36     void setDataModel( MpCollectionDataModel *dataModel );
       
    37 
    34 public slots:
    38 public slots:
    35 
    39 
    36     void itemActivated( const QModelIndex &index );
    40     void itemActivated( const QModelIndex &index );
       
    41     void albumCentered();
       
    42     void dataReloaded();
       
    43     void albumDataChanged();
    37 
    44 
    38 private:
    45 private:
    39 
    46 
    40     void setupContainer();
    47     void setupContainer();
    41 
    48 
    42 private:
    49 private:
    43 
    50 
    44     HbGroupBox      *mInfoBar;          // Own
    51     HbGroupBox                      *mInfoBar;          // Own
    45 
    52     HgMediawall                     *mTBone;            // Own
    46     QString         mArtist;
    53     MpCollectionTBoneListDataModel  *mTBoneListModel;   // Own
    47     QString         mAlbum;
    54     int                             mCurrentArtistIndex;
       
    55     int                             mCurrentAlbumIndex;
       
    56     int                             mAlbumIndexOffset;
    48 
    57 
    49 };
    58 };
    50 
    59 
    51 #endif  // MPCOLLECTIONCONTAINERARTISTS_H
    60 #endif  // MPCOLLECTIONCONTAINERARTISTS_H
    52 
    61