Doc: Updated the \example and \snippet paths
Also: - Grouped the example docs under one group. i.e. multimedia-examples - Moved the \group page here from the qtdoc repo - Moved the snippets directory under doc from doc/src Change-Id: I28fb81cf910e58101cd601fb4c440b59b0b0366d Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
5cd23af26c
commit
0241b0e39c
@@ -68,14 +68,14 @@ QT_BEGIN_NAMESPACE
|
||||
the \l {QMediaService::requestControl()} member of QMediaService. If the
|
||||
service doesn't implement a control it will instead return a null pointer.
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/media.cpp Request control
|
||||
\snippet multimedia-snippets/media.cpp Request control
|
||||
|
||||
Alternatively if the IId of the control has been declared using
|
||||
Q_MEDIA_DECLARE_CONTROL the template version of
|
||||
QMediaService::requestControl() can be used to request the service without
|
||||
explicitly passing the IId or using qobject_cast().
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/media.cpp Request control templated
|
||||
\snippet multimedia-snippets/media.cpp Request control templated
|
||||
|
||||
Most application code will not interface directly with a media service's
|
||||
controls, instead the QMediaObject which owns the service acts as an
|
||||
@@ -95,7 +95,7 @@ QT_BEGIN_NAMESPACE
|
||||
be requested from QMediaService::requestControl() without explicitly
|
||||
passing the IId.
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/media.cpp Request control templated
|
||||
\snippet multimedia-snippets/media.cpp Request control templated
|
||||
|
||||
\sa QMediaService::requestControl()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user