Fixed QDoc errors related to snippets and quotefromfile commands
Change-Id: I9dd6381eb95dcbd9aa5cc8f596d87cf55eee7427 Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
27a7559c7e
commit
6ebee9f57e
@@ -236,9 +236,12 @@ QSoundBuffer* QDeclarativeAudioSample::soundBuffer() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
\omit
|
||||||
|
Note: This QML property is documented twice.
|
||||||
\qmlproperty bool QtAudioEngine1::AudioSample::loaded
|
\qmlproperty bool QtAudioEngine1::AudioSample::loaded
|
||||||
|
|
||||||
This property holds the load status of the audio sample.
|
This property holds the load status of the audio sample.
|
||||||
|
\endomit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -175,8 +175,8 @@ qreal QDeclarativeCameraExposure::aperture() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\qmlproperty integer QtMultimedia5::CameraExposure::manualIsoSensitivity
|
\qmlproperty real QtMultimedia5::CameraExposure::manualIso
|
||||||
\property QDeclarativeCameraExposure::manualIsoSensitivity
|
\property QReal QDeclarativeCameraExposure::manualIso
|
||||||
|
|
||||||
This property allows you to set a specific ISO setting
|
This property allows you to set a specific ISO setting
|
||||||
for image capturing.
|
for image capturing.
|
||||||
|
|||||||
@@ -101,8 +101,8 @@ bool QDeclarativeCameraFlash::isFlashReady() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\qmlproperty enumeration QtMultimedia5::CameraFlash::flashMode
|
\qmlproperty enumeration QtMultimedia5::CameraFlash::mode
|
||||||
\property QDeclarativeCameraFlash::flashMode
|
\property int QDeclarativeCameraFlash::mode
|
||||||
|
|
||||||
\table
|
\table
|
||||||
\header \li Value \li Description
|
\header \li Value \li Description
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ QMediaRecorderControl::~QMediaRecorderControl()
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn void QMediaRecorderControl::volume(qreal gain)
|
\fn void QMediaRecorderControl::volumeChanged(qreal gain)
|
||||||
|
|
||||||
Signals that the audio \a gain value has changed.
|
Signals that the audio \a gain value has changed.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -17,13 +17,11 @@ description = Qt Multimedia Documentation
|
|||||||
exampledirs += .. \
|
exampledirs += .. \
|
||||||
../../../examples
|
../../../examples
|
||||||
|
|
||||||
headerdirs += src \
|
headerdirs += ../..
|
||||||
../..
|
|
||||||
|
|
||||||
imagedirs += src/images \
|
imagedirs += src/images \
|
||||||
|
|
||||||
sourcedirs += src \
|
sourcedirs += ../..
|
||||||
../..
|
|
||||||
|
|
||||||
excludedirs +=
|
excludedirs +=
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ can see from the code, this makes use of a type of inheritance: a
|
|||||||
... is-a
|
... is-a
|
||||||
\l{video/qmlvideo/qml/qmlvideo/SceneBasic.qml}{SceneBasic} ...
|
\l{video/qmlvideo/qml/qmlvideo/SceneBasic.qml}{SceneBasic} ...
|
||||||
|
|
||||||
\quotefromfile examples/video/qmlvideo/qml/qmlvideo/SceneBasic.qml
|
\quotefromfile video/qmlvideo/qml/qmlvideo/SceneBasic.qml
|
||||||
\skipto import
|
\skipto import
|
||||||
\printuntil contentType
|
\printuntil contentType
|
||||||
\dots
|
\dots
|
||||||
|
|||||||
@@ -35,11 +35,15 @@
|
|||||||
To include the definitions of the module's classes, use the
|
To include the definitions of the module's classes, use the
|
||||||
following directive:
|
following directive:
|
||||||
|
|
||||||
\snippet doc/src/snippets/code/doc_src_qtmultimedia.cpp 1
|
\code
|
||||||
|
#include <QtMultimedia>
|
||||||
|
\endcode
|
||||||
|
|
||||||
To link against the module, add this line to your \l qmake \c
|
To link against the module, add this line to your \l qmake \c
|
||||||
.pro file:
|
.pro file:
|
||||||
|
|
||||||
\snippet doc/src/snippets/code/doc_src_qtmultimedia.pro 0
|
\code
|
||||||
|
QT += multimedia
|
||||||
|
\endcode
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -37,6 +37,5 @@ The identifying string for this component is \e QtMultimedia. Use this in the QM
|
|||||||
\section1 QML types
|
\section1 QML types
|
||||||
|
|
||||||
\annotatedlist multimedia_qml
|
\annotatedlist multimedia_qml
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ allows you to receive these frames from \l QMediaPlayer and
|
|||||||
and with an instance of this surface, \c myVideoSurface, you can set
|
and with an instance of this surface, \c myVideoSurface, you can set
|
||||||
the surface as the \l {QMediaPlayer::setVideoOutput()}{video output} for QMediaPlayer.
|
the surface as the \l {QMediaPlayer::setVideoOutput()}{video output} for QMediaPlayer.
|
||||||
|
|
||||||
\snippet doc/src/snippets/multimedia-snippets/video.cpp Setting Surface in Player
|
\snippet doc/src/snippets/multimedia-snippets/video.cpp Setting surface in player
|
||||||
|
|
||||||
Several of the built-in Qt classes offer this functionality
|
Several of the built-in Qt classes offer this functionality
|
||||||
as well, so if you decode video in your application, you can present
|
as well, so if you decode video in your application, you can present
|
||||||
|
|||||||
Reference in New Issue
Block a user