mpviewplugins/mpplaybackviewplugin/inc/mpplaybackwidget.h
changeset 22 ecf06a08d4d9
parent 19 4e84c994a771
child 29 8192e5b5c935
equal deleted inserted replaced
20:82baf59ce8dd 22:ecf06a08d4d9
    48     void playbackInfoChanged();
    48     void playbackInfoChanged();
    49     void durationChanged();
    49     void durationChanged();
    50     void positionChanged();
    50     void positionChanged();
    51     void albumArtChanged();
    51     void albumArtChanged();
    52 
    52 
    53     bool loadLayout( Qt::Orientation orientation );
       
    54 
       
    55 private slots:
    53 private slots:
    56 
    54 
    57     void handleSliderPressed();
    55     void handleSliderPressed();
    58     void handleSliderReleased();
    56     void handleSliderReleased();
    59     void handleSliderMoved(int value);
    57     void handleSliderMoved(int value);
    60 
    58 
    61 private:
    59 private:
    62 
    60 
    63     QString formatDuration( int seconds );
    61     QString formatDuration( int seconds );
    64     void composeAlbumCover( QPixmap& albumart );
       
    65 
    62 
    66 private:
    63 private:
    67 
    64 
    68     MpPlaybackData          *mPlaybackData;     // Not own
    65     MpPlaybackData          *mPlaybackData;     // Not own
    69     HbDocumentLoader        *mDocumentLoader;   // Own
    66     HbDocumentLoader        *mDocumentLoader;   // Own
    73     HbLabel                 *mArtistName;       // Not own
    70     HbLabel                 *mArtistName;       // Not own
    74     HbLabel                 *mAlbumName;        // Not own
    71     HbLabel                 *mAlbumName;        // Not own
    75     HbLabel                 *mAlbumArt;         // Not own
    72     HbLabel                 *mAlbumArt;         // Not own
    76     HbProgressSlider        *mProgressBar;      // Not own
    73     HbProgressSlider        *mProgressBar;      // Not own
    77 
    74 
    78     QPixmap                 mCompositePixmap;
    75 
    79 
    76 
    80     bool                    mProgreesBarDragging;
    77     bool                    mProgreesBarDragging;
    81     int                     mDuration;
    78     int                     mDuration;
    82 
    79 
    83     Q_DISABLE_COPY(MpPlaybackWidget)
    80     Q_DISABLE_COPY(MpPlaybackWidget)