Doc: Fixed random QDoc warnings
- Fixed \snippet paths
- Minor language edits
- Removed unnecessary multiple page commands in a single comment
block. For example, \fn and \qmlsignal in a single comment block
is not allowed. Such instances must be documented in separate
comment blocks.
Change-Id: I65f4518499e2600c4e1807356d4116c575e48c19
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
(cherry picked from commit 51334d2995)
This commit is contained in:
committed by
The Qt Project
parent
c6b54f3521
commit
8e6ffcc6af
@@ -76,9 +76,9 @@ QT_BEGIN_NAMESPACE
|
||||
with a QIODevice opened for writing. For instance, to record to a
|
||||
file, you can:
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio input class members
|
||||
\snippet multimedia-snippets/audio.cpp Audio input class members
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio input setup
|
||||
\snippet multimedia-snippets/audio.cpp Audio input setup
|
||||
|
||||
This will start recording if the format specified is supported by
|
||||
the input device (you can check this with
|
||||
@@ -86,7 +86,7 @@ QT_BEGIN_NAMESPACE
|
||||
snags, use the error() function to check what went wrong. We stop
|
||||
recording in the \c stopRecording() slot.
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio input stop recording
|
||||
\snippet multimedia-snippets/audio.cpp Audio input stop recording
|
||||
|
||||
At any point in time, QAudioInput will be in one of four states:
|
||||
active, suspended, stopped, or idle. These states are specified by
|
||||
@@ -108,7 +108,7 @@ QT_BEGIN_NAMESPACE
|
||||
an error is encountered. Connect to the stateChanged() signal to
|
||||
handle the error:
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio input state changed
|
||||
\snippet multimedia-snippets/audio.cpp Audio input state changed
|
||||
|
||||
\sa QAudioOutput, QAudioDeviceInfo
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user