diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-02-12 17:41:47 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-03-02 14:48:11 +0000 |
commit | d6f5e27b380546654406e8469ad1083fe1350479 (patch) | |
tree | a13445bda3be8dc3b9a230864e04a81e816217b0 /tests/auto/unit/mockbackend/mockmediaplayer.h | |
parent | d8749dbea84bfa28bfcb5cdb60550f3e5cac3b7e (diff) |
Rename QMediaPlayerControl to QPlatformMediaPlayer
This is the start of a larger renaming excercise, that
will hopefully bring us closer towards a final naming
convention for files and classes in the multimedia
backends.
Change-Id: Ib6010e2923cbf82b6bd6cd247614b4405863cf70
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/unit/mockbackend/mockmediaplayer.h')
-rw-r--r-- | tests/auto/unit/mockbackend/mockmediaplayer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/unit/mockbackend/mockmediaplayer.h b/tests/auto/unit/mockbackend/mockmediaplayer.h index 8263f935d..8c78bad61 100644 --- a/tests/auto/unit/mockbackend/mockmediaplayer.h +++ b/tests/auto/unit/mockbackend/mockmediaplayer.h @@ -29,17 +29,17 @@ #ifndef MOCKMEDIAPLAYER_H #define MOCKMEDIAPLAYER_H -#include "qmediaplayercontrol.h" +#include "private/qplatformmediaplayer_p.h" #include "mockmediastreamscontrol.h" #include <qurl.h> -class MockMediaPlayer : public QMediaPlayerControl +class MockMediaPlayer : public QPlatformMediaPlayer { friend class MockMediaPlayerService; public: MockMediaPlayer() - : QMediaPlayerControl(0) + : QPlatformMediaPlayer(0) , _state(QMediaPlayer::StoppedState) , _mediaStatus(QMediaPlayer::NoMedia) , _error(QMediaPlayer::NoError) |