diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2014-03-19 10:00:13 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-19 12:48:30 +0100 |
commit | 19ce431f9feec52327d902ab7005db5aff655535 (patch) | |
tree | deb63d332694d942cccae26f5aec98dfc6e60887 /src/imports/audioengine/qdeclarative_audiolistener_p.cpp | |
parent | 73de758274f874ad92cd891717a58807a288b4d4 (diff) |
Tidy up Audio documentation.
Change-Id: I864ba13375d7b8b035686c11687e76fbf672c431
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/imports/audioengine/qdeclarative_audiolistener_p.cpp')
-rw-r--r-- | src/imports/audioengine/qdeclarative_audiolistener_p.cpp | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/imports/audioengine/qdeclarative_audiolistener_p.cpp b/src/imports/audioengine/qdeclarative_audiolistener_p.cpp index c14811139..7795ce8a3 100644 --- a/src/imports/audioengine/qdeclarative_audiolistener_p.cpp +++ b/src/imports/audioengine/qdeclarative_audiolistener_p.cpp @@ -88,11 +88,10 @@ QT_USE_NAMESPACE loops: Animation.Infinite running: true NumberAnimation { - duration: 8000 - from: 0 - to: 1 + duration: 8000 + from: 0 + to: 1 } - } } } @@ -130,17 +129,16 @@ QT_USE_NAMESPACE loops: Animation.Infinite running: true NumberAnimation { - duration: 8000 - from: 0 - to: 1 + duration: 8000 + from: 0 + to: 1 } - } } } \endqml - This separate AudioListener definition is allowed to make qml bindings easier in some case. + This separate AudioListener definition is allowed to make QML bindings easier in some cases. */ QDeclarativeAudioListener::QDeclarativeAudioListener(QObject *parent) @@ -157,7 +155,7 @@ QDeclarativeAudioListener::~QDeclarativeAudioListener() /*! \qmlproperty QtAudioEngine::AudioEngine QtAudioEngine::AudioListener::engine - This property holds the reference to AudioEngine, must be set only once. + This property holds the reference to AudioEngine, and must only be set once. */ QDeclarativeAudioEngine* QDeclarativeAudioListener::engine() const { @@ -173,7 +171,7 @@ void QDeclarativeAudioListener::setEngine(QDeclarativeAudioEngine *engine) /*! \qmlproperty vector3d QtAudioEngine::AudioListener::position - This property holds the 3d position of the listener. + This property holds the 3D position of the listener. */ QVector3D QDeclarativeAudioListener::position() const { @@ -192,7 +190,7 @@ void QDeclarativeAudioListener::setPosition(const QVector3D &position) /*! \qmlproperty vector3d QtAudioEngine::AudioListener::direction - This property holds the normalized 3d direction vector of the listener. + This property holds the normalized 3D direction vector of the listener. */ QVector3D QDeclarativeAudioListener::direction() const { @@ -211,7 +209,7 @@ void QDeclarativeAudioListener::setDirection(const QVector3D &direction) /*! \qmlproperty vector3d QtAudioEngine::AudioListener::velocity - This property holds the 3d velocity vector of the listener. + This property holds the 3D velocity vector of the listener. */ QVector3D QDeclarativeAudioListener::velocity() const { @@ -230,7 +228,7 @@ void QDeclarativeAudioListener::setVelocity(const QVector3D &velocity) /*! \qmlproperty vector3d QtAudioEngine::AudioListener::up - This property holds the normalized 3d up vector of the listener. + This property holds the normalized 3D up vector of the listener. */ QVector3D QDeclarativeAudioListener::up() const { |