videoplayback/videoplaybackview/controlinc/videoplaybacktoolbar.h
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
child 66 adb51f74b890
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
    13 *
    13 *
    14 * Description:  Implementation of VideoPlaybackToolBar
    14 * Description:  Implementation of VideoPlaybackToolBar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 4 %
    18 // Version : %version: 5 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifndef VIDEOPLAYBACKTOOLBAR_H_
    22 #ifndef VIDEOPLAYBACKTOOLBAR_H_
    23 #define VIDEOPLAYBACKTOOLBAR_H_
    23 #define VIDEOPLAYBACKTOOLBAR_H_
    78     Q_OBJECT
    78     Q_OBJECT
    79 
    79 
    80     public:
    80     public:
    81         VideoPlaybackToolBar( VideoPlaybackControlsController* controller );
    81         VideoPlaybackToolBar( VideoPlaybackControlsController* controller );
    82         virtual ~VideoPlaybackToolBar();
    82         virtual ~VideoPlaybackToolBar();
       
    83 
       
    84     public:
    83         void updateState( TMPXPlaybackState state );
    85         void updateState( TMPXPlaybackState state );
    84         void aspectRatioChanged( int aspectRatio );
    86         void aspectRatioChanged( int aspectRatio );
    85         void initialize();
    87         void initialize();
    86         void updateWithFileDetails( VideoPlaybackViewFileDetails* details );
    88         void updateWithFileDetails( VideoPlaybackViewFileDetails* details );
    87         void positionChanged( int position );
    89         void positionChanged( int position );
    88         void durationChanged( int duration );
    90         void durationChanged( int duration );
    89         void setVisible( bool visible );
    91         void setVisible( bool visible );
       
    92         void resetControl();
    90 
    93 
    91     private slots:
    94     private slots:
    92         void playPause();
    95         void playPause();
    93         void changeAspectRatio();
    96         void changeAspectRatio();
    94         void handleButtonPressed();
    97         void handleButtonPressed();