Doc: update qml module version to 5.5.

And remove import statements from snippets.

Change-Id: I109beabd445186f96f0750b6f23fb623c125181e
Task-number: QTBUG-47620
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Yoann Lopes
2015-08-10 16:21:43 +02:00
parent a00c588c70
commit b8553dae1d
20 changed files with 6 additions and 82 deletions

View File

@@ -83,8 +83,6 @@ QT_BEGIN_NAMESPACE
\ingroup multimedia_audio_qml
\inqmlmodule QtMultimedia
SoundEffect is part of the \b{QtMultimedia 5.0} module.
This type allows you to play uncompressed audio files (typically WAV files) in
a generally lower latency way, and is suitable for "feedback" type sounds in
response to user actions (e.g. virtual keyboard sounds, positive or negative

View File

@@ -31,10 +31,10 @@
**
****************************************************************************/
//! [complete snippet]
import QtQuick 2.0
import QtMultimedia 5.0
import QtMultimedia 5.5
//! [complete snippet]
Text {
text: "Click Me!";
font.pointSize: 24;

View File

@@ -102,9 +102,6 @@ In QML, use the \l{QtMultimedia::QtMultimedia::availableCameras}{QtMultimedia.av
property:
\qml
import QtQuick 2.0
import QtMultimedia 5.4
Item {
property bool isCameraAvailable: QtMultimedia.availableCameras.length > 0
}
@@ -163,9 +160,6 @@ In QML, you can use \l Camera and \l VideoOutput together to show a
simple viewfinder:
\qml
import QtQuick 2.0
import QtMultimedia 5.4
VideoOutput {
source: camera

View File

@@ -177,7 +177,7 @@ what changed, and what you might need to change when porting code.
\section2 QML Types
The QML types are accessed by using:
\code
import QtMultimedia 5.4
import QtMultimedia 5.5
\endcode
\annotatedlist multimedia_qml
The following types are accessed by using \l{Qt Audio Engine QML Types}{Qt Audio Engine}:

View File

@@ -54,10 +54,6 @@
\qml
import QtQuick 2.0
import QtMultimedia 5.0
// ...
Item {
width: 640
height: 360
@@ -196,9 +192,6 @@
\qml
import QtQuick 2.0
import QtMultimedia 5.0
Item {
width: 640
height: 360

View File

@@ -46,7 +46,7 @@
import statement in your \c {.qml} file.
\code
import QtMultimedia 5.4
import QtMultimedia 5.5
\endcode
If you intend to use the C++ classes in your application, include the C++

View File

@@ -26,7 +26,7 @@
****************************************************************************/
/*!
\qmlmodule QtMultimedia 5.4
\qmlmodule QtMultimedia 5.5
\title Qt Multimedia QML Types
\ingroup qmlmodules
\brief Provides QML types for multimedia support.
@@ -42,7 +42,7 @@ The QML types for \l{Qt Multimedia} support the basic use cases such as:
The QML types can be imported into your application using the following import
statement in your .qml file:
\code
import QtMultimedia 5.4
import QtMultimedia 5.5
\endcode
\section1 QML types