59 const QString& artist() const; |
61 const QString& artist() const; |
60 bool setAlbum( const QString& album ); |
62 bool setAlbum( const QString& album ); |
61 const QString& album() const; |
63 const QString& album() const; |
62 bool setUri( const QString& uri ); |
64 bool setUri( const QString& uri ); |
63 const QString& uri() const; |
65 const QString& uri() const; |
64 |
|
65 void setAlbumArtUri( const QString& albumArtUri ); |
66 void setAlbumArtUri( const QString& albumArtUri ); |
66 void albumArt( HbIcon& icon ) const; |
67 void albumArt( HbIcon& icon ) const; |
67 |
68 bool setAlbumId( int id ); |
|
69 int albumId(); |
|
70 bool setId( int id ); |
|
71 int id(); |
|
72 bool setRealAudio( bool mode ); |
|
73 bool realAudio(); |
68 void setPlaybackState( const SimplifiedState state ); |
74 void setPlaybackState( const SimplifiedState state ); |
69 MpPlaybackData::SimplifiedState playbackState() const; |
75 MpPlaybackData::SimplifiedState playbackState() const; |
70 |
76 |
71 void commitPlaybackInfo(); |
77 void commitPlaybackInfo(); |
|
78 |
72 |
79 |
73 public slots: |
80 public slots: |
74 |
81 |
75 void thumbnailReady( const QPixmap& pixmap, void *data, int id, int error ); |
82 void thumbnailReady( const QPixmap& pixmap, void *data, int id, int error ); |
76 |
83 |
79 void durationChanged(); |
86 void durationChanged(); |
80 void positionChanged(); |
87 void positionChanged(); |
81 void albumArtReady(); |
88 void albumArtReady(); |
82 void playbackStateChanged(); |
89 void playbackStateChanged(); |
83 void playbackInfoChanged(); |
90 void playbackInfoChanged(); |
84 |
91 |
85 private: |
92 private: |
86 |
93 |
87 ThumbnailManager *mThumbnailManager; //owned |
94 ThumbnailManager *mThumbnailManager; //owned |
88 int mReqId; |
95 int mReqId; |
89 |
96 |