equal
deleted
inserted
replaced
19 #define MPCOLLECTIONCONTAINERALBUMS_H |
19 #define MPCOLLECTIONCONTAINERALBUMS_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 MpCollectionContainerAlbums : public MpCollectionListContainer |
27 class MpCollectionContainerAlbums : public MpCollectionListContainer |
26 { |
28 { |
27 Q_OBJECT |
29 Q_OBJECT |
28 |
30 |
29 public: |
31 public: |
30 |
32 |
31 explicit MpCollectionContainerAlbums( HbDocumentLoader *loader, QGraphicsItem *parent=0 ); |
33 explicit MpCollectionContainerAlbums( HbDocumentLoader *loader, QGraphicsItem *parent=0 ); |
32 virtual ~MpCollectionContainerAlbums(); |
34 virtual ~MpCollectionContainerAlbums(); |
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 mCurrentAlbumIndex; |
48 |
55 |
49 }; |
56 }; |
50 |
57 |
51 #endif // MPCOLLECTIONCONTAINERALBUMS_H |
58 #endif // MPCOLLECTIONCONTAINERALBUMS_H |
52 |
59 |