72 |
78 |
73 bool setCurrentAlbum( int index ); |
79 bool setCurrentAlbum( int index ); |
74 int currentAlbumIndex() const; |
80 int currentAlbumIndex() const; |
75 int albumSongsCount() const; |
81 int albumSongsCount() const; |
76 QString albumSongData( int index, MpMpxCollectionData::DataType type ) const; |
82 QString albumSongData( int index, MpMpxCollectionData::DataType type ) const; |
|
83 bool hasItemProperty( int index, MpMpxCollectionData:: DataProperty type ) const; |
|
84 bool hasAlbumSongProperty( int index, MpMpxCollectionData:: DataProperty type ) const; |
77 |
85 |
78 void setMpxMedia( const CMPXMedia& entries, bool reopen=false ); |
86 void setMpxMedia( const CMPXMedia& entries, bool reopen=false ); |
|
87 void incrementalOpenUpdate(); |
79 const CMPXMedia& containerMedia(); |
88 const CMPXMedia& containerMedia(); |
80 void setContext( TCollectionContext context ); |
89 void setContext( TCollectionContext context ); |
81 void setAlbumContent( const CMPXMedia& albumContent ); |
90 void setAlbumContent( const CMPXMedia& albumContent ); |
82 int itemIndex( int itemUniqueId ); |
91 int itemIndex( int itemUniqueId ); |
83 int albumSongIndex( int songUniqueId ); |
92 int albumSongIndex( int songUniqueId ); |
|
93 QList<int> songIndex( int songUniqueId ); |
|
94 void setCorruptValue(QModelIndex index, bool tBone ); |
|
95 void setReloadAlbumContent( bool reloadAlbum ); |
|
96 |
84 |
97 |
85 signals: |
98 signals: |
86 |
99 |
87 void contextChanged( TCollectionContext context ); |
100 void contextChanged( TCollectionContext context ); |
88 void dataChanged(); |
101 void dataChanged(); |
|
102 void dataChanged( int fromIndex, int toIndex ); |
89 void albumDataChanged(); |
103 void albumDataChanged(); |
90 void refreshAlbumSongs(); |
104 void refreshAlbumSongs(); |
91 |
105 |
92 private: |
106 private: |
93 |
107 |