Lines Matching refs:m_currentState
115 return m_currentState; in state()
173 if (m_currentState == QMediaPlayer::StoppedState) { in setPosition()
269 m_currentState = newState; in playOrPause()
292 if (m_currentState != QMediaPlayer::StoppedState) { in stop()
293 m_currentState = QMediaPlayer::StoppedState; in stop()
340 m_currentState = QMediaPlayer::StoppedState;
379 if (m_currentState != QMediaPlayer::PlayingState)
432 m_currentState = QMediaPlayer::StoppedState;
435 if (state == QMediaPlayer::PausedState && m_currentState != QMediaPlayer::StoppedState) {
442 if (m_currentState == QMediaPlayer::PlayingState) {
472 if (m_currentState == QMediaPlayer::StoppedState) {
483 if (m_currentState == QMediaPlayer::PlayingState && !m_resources->isGranted())
496 if (m_currentState != QMediaPlayer::StoppedState) {
497 m_currentState = QMediaPlayer::StoppedState;
515 if (m_currentState == QMediaPlayer::PlayingState &&
535 m_currentState = QMediaPlayer::StoppedState;
547 m_currentState = m_userRequestedState;
548 if (m_currentState != QMediaPlayer::StoppedState)
549 playOrPause(m_currentState);
561 QMediaPlayer::State oldState = m_currentState;
566 m_currentState = QMediaPlayer::PausedState;
577 if (m_currentState != QMediaPlayer::StoppedState )
578 m_currentState = QMediaPlayer::PausedState;
585 m_stateStack.push(m_currentState);
604 if (m_currentState != oldState) {
606 qDebug() << "State changed:" << m_currentState;
608 emit stateChanged(m_currentState);