equal
deleted
inserted
replaced
72 bool setRealAudio( bool mode ); |
72 bool setRealAudio( bool mode ); |
73 bool realAudio(); |
73 bool realAudio(); |
74 void setPlaybackState( const SimplifiedState state ); |
74 void setPlaybackState( const SimplifiedState state ); |
75 MpPlaybackData::SimplifiedState playbackState() const; |
75 MpPlaybackData::SimplifiedState playbackState() const; |
76 |
76 |
77 void commitPlaybackInfo(); |
77 void commitPlaybackInfo( bool changed ); |
78 void resetData(); |
78 void resetData(); |
79 void setCorrupted( int id ); |
79 void setCorrupted( int id ); |
|
80 void handleCollectionPlaylistOpened(); |
80 |
81 |
81 |
82 |
82 public slots: |
83 public slots: |
83 |
84 |
84 void thumbnailReady( const QPixmap& pixmap, void *data, int id, int error ); |
85 void thumbnailReady( const QPixmap& pixmap, void *data, int id, int error ); |
89 void positionChanged(); |
90 void positionChanged(); |
90 void albumArtReady(); |
91 void albumArtReady(); |
91 void playbackStateChanged(); |
92 void playbackStateChanged(); |
92 void playbackInfoChanged(); |
93 void playbackInfoChanged(); |
93 void fileCorrupted(int id ); |
94 void fileCorrupted(int id ); |
|
95 void collectionPlaylistOpened(); |
94 |
96 |
95 private: |
97 private: |
96 |
98 |
97 ThumbnailManager *mThumbnailManager; //owned |
99 ThumbnailManager *mThumbnailManager; //owned |
98 int mReqId; |
100 int mReqId; |
106 int mAlbumId; |
108 int mAlbumId; |
107 int mId; |
109 int mId; |
108 HbIcon mAlbumArt; |
110 HbIcon mAlbumArt; |
109 SimplifiedState mPlaybackState; |
111 SimplifiedState mPlaybackState; |
110 bool mRealAudio; |
112 bool mRealAudio; |
|
113 bool mCollectionPlaylistOpened; |
111 |
114 |
112 Q_DISABLE_COPY(MpPlaybackData) |
115 Q_DISABLE_COPY(MpPlaybackData) |
113 }; |
116 }; |
114 |
117 |
115 #endif // MPPLAYBACKDATA_H |
118 #endif // MPPLAYBACKDATA_H |