diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-06-11 11:55:29 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-06-16 08:56:52 +0200 |
commit | fde5d6f7cce6118cac4ce7b92cd056225737917f (patch) | |
tree | 6eafa4110806eb354f899cbd4fea2b826c9fdf2c /examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc | |
parent | 994bcb23af8399485ddfdd16d2ba34c20326b432 (diff) |
Rename QMediaEncoder to QMediaRecorder
As per API review, this is the better name. Since we removed
the old QMediaRecorder class, the name is free as well.
Change-Id: I1ec9af3876af8b6957e20c13f9e225bf1e5032d5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc')
-rw-r--r-- | examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc b/examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc index 2ec189c42..d5d49e723 100644 --- a/examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc +++ b/examples/multimedia/audiorecorder/doc/src/audiorecorder.qdoc @@ -64,11 +64,11 @@ \endcode And setup the lists as described above. The text on the record and pause - buttons are toggled depending on the \l{QMediaEncoder::RecorderState}{state} of + buttons are toggled depending on the \l{QMediaRecorder::RecorderState}{state} of the \c audioRecorder object. This means that if the state is - \l{QMediaEncoder::StoppedState} then the button text will be "Record" and - "Pause". In \l{QMediaEncoder::RecordingState} the record button will have - the text "Stop", and in \l{QMediaEncoder::PausedState} the pause button + \l{QMediaRecorder::StoppedState} then the button text will be "Record" and + "Pause". In \l{QMediaRecorder::RecordingState} the record button will have + the text "Stop", and in \l{QMediaRecorder::PausedState} the pause button will have the text "Resume". Pressing the buttons will also result in a toggle based on the state. If @@ -76,7 +76,7 @@ \l{QAudioEncoderSettings} based on the values of the selection lists, will set the encoding settings and container on the \c audioRecorder object, and start recording using the - \l{QMediaEncoder::record()}{record()} method. + \l{QMediaRecorder::record()}{record()} method. \code QAudioEncoderSettings settings; @@ -95,7 +95,7 @@ \endcode While recording, the status bar of the application is updated with duration information - from the \l{QMediaEncoder::durationChanged()}{durationChanged} signal from the + from the \l{QMediaRecorder::durationChanged()}{durationChanged} signal from the \c audioRecorder object. \code |