Update version number in QML plugins.
Also removes unnecessary references of that import version in the documentation and snippets. The import version is always displayed at the top of every doc page anyway. Change-Id: Ifbf4666e0bc333c51f51104a5720b988e8c04d0b Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
This commit is contained in:
committed by
Jani Heikkinen
parent
857996876e
commit
9985224a89
@@ -1,7 +1,7 @@
|
||||
CXX_MODULE = multimedia
|
||||
TARGET = declarative_audioengine
|
||||
TARGETPATH = QtAudioEngine
|
||||
IMPORT_VERSION = 1.0
|
||||
IMPORT_VERSION = 1.1
|
||||
|
||||
QT += quick qml multimedia-private
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@ import QtQuick.tooling 1.2
|
||||
// It is used for QML tooling purposes only.
|
||||
//
|
||||
// This file was auto-generated by:
|
||||
// 'qmlplugindump -nonrelocatable QtAudioEngine 1.0'
|
||||
// 'qmlplugindump -nonrelocatable QtAudioEngine 1.1'
|
||||
|
||||
Module {
|
||||
dependencies: []
|
||||
dependencies: ["QtQuick 2.0"]
|
||||
Component {
|
||||
name: "QDeclarativeAttenuationModel"
|
||||
prototype: "QObject"
|
||||
|
||||
@@ -79,17 +79,11 @@ void QDeclarativeAttenuationModel::setName(const QString& name)
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
AttenuationModelLinear must be defined inside \l AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addAttenuationModel()}{AudioEngine.addAttenuationModel()}
|
||||
if AttenuationModelLinear is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
@@ -214,17 +208,11 @@ qreal QDeclarativeAttenuationModelLinear::calculateGain(const QVector3D &listene
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
AttenuationModelInverse must be defined inside \l AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addAttenuationModel()}{AudioEngine.addAttenuationModel()}
|
||||
if AttenuationModelInverse is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -48,17 +48,12 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
An instance of AudioCategory can be accessed through \l {QtAudioEngine::AudioEngine::categories}
|
||||
{AudioEngine.categories} with its unique name and must be defined inside AudioEngine or be added
|
||||
to it using \l{QtAudioEngine::AudioEngine::addAudioCategory()}{AudioEngine.addAudioCategory()} if
|
||||
AudioCategory is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -57,12 +57,7 @@ QT_BEGIN_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
\c AudioEngine is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -49,15 +49,10 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
AudioListener will have only one global instance and you can either access it through the
|
||||
listener property of AudioEngine:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
@@ -92,9 +87,6 @@ QT_USE_NAMESPACE
|
||||
or alternatively, by defining an AudioListener outside AudioEngine:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -51,17 +51,12 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
\c AudioSample is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
It can be accessed through QtAudioEngine::AudioEngine::samples with its unique
|
||||
name and must be defined inside AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addAudioSample()}{AudioEngine.addAudioSample()}
|
||||
if AudioSample is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -53,16 +53,11 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
PlayVariation must be defined inside a \l Sound or be added to it using
|
||||
\l{QtAudioEngine::Sound::addPlayVariation()}{Sound.addPlayVariation()}
|
||||
if PlayVariation is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -159,16 +159,12 @@ void QDeclarativeSoundCone::setEngine(QDeclarativeAudioEngine *engine)
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
Sound can be accessed through QtAudioEngine::AudioEngine::sounds with its unique name
|
||||
and must be defined inside AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addSound()}{AudioEngine.addSound()}
|
||||
if \l Sound is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
|
||||
@@ -52,15 +52,10 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
There are two ways to create SoundInstance objects. You can obtain it by calling newInstance
|
||||
method of a \l Sound:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
id:root
|
||||
color:"white"
|
||||
@@ -98,9 +93,6 @@ QT_USE_NAMESPACE
|
||||
easier qml bindings:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
id:root
|
||||
color:"white"
|
||||
|
||||
Reference in New Issue
Block a user