equal
deleted
inserted
replaced
91 bool isVideoAvailable() const; |
91 bool isVideoAvailable() const; |
92 |
92 |
93 bool isSeekable() const; |
93 bool isSeekable() const; |
94 |
94 |
95 qreal playbackRate() const; |
95 qreal playbackRate() const; |
|
96 |
|
97 public slots: |
96 void setPlaybackRate(qreal rate); |
98 void setPlaybackRate(qreal rate); |
97 |
99 |
98 void setPosition(qint64 pos); |
100 void setPosition(qint64 pos); |
99 |
101 |
100 void play(); |
102 void play(); |
103 |
105 |
104 void setVolume(int volume); |
106 void setVolume(int volume); |
105 void setMuted(bool muted); |
107 void setMuted(bool muted); |
106 |
108 |
107 void processEOS(); |
109 void processEOS(); |
|
110 void processStateChange(); |
|
111 void processVolumeChange(); |
108 |
112 |
109 signals: |
113 signals: |
110 void positionChanged(qint64 position); |
114 void positionChanged(qint64 position); |
111 void durationChanged(qint64 duration); |
115 void durationChanged(qint64 duration); |
112 void stateChanged(QMediaPlayer::State newState); |
116 void stateChanged(QMediaPlayer::State newState); |