summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@digia.com>2014-03-10 15:08:44 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-10 18:59:10 +0100
commit4bb51fef0a5da88a75d5ba593557367b990ccab5 (patch)
treeb4eff2b2ca263fbaf286829e7bec7f085555fd39 /src/imports
parentf1db56d059e8a5a951826eb83ede7a8ea7cddf23 (diff)
Add missing documentation for Audio and MediaPlayer loops property.
Task-number: QTBUG-35306 Change-Id: If0e9784ede5db887d3756972e8db54b5485d6cdd Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/multimedia/qdeclarativeaudio.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/imports/multimedia/qdeclarativeaudio.cpp b/src/imports/multimedia/qdeclarativeaudio.cpp
index bce0b7e2a..4f741616f 100644
--- a/src/imports/multimedia/qdeclarativeaudio.cpp
+++ b/src/imports/multimedia/qdeclarativeaudio.cpp
@@ -441,6 +441,18 @@ void QDeclarativeAudio::seek(int position)
*/
/*!
+ \qmlproperty int QtMultimedia::Audio::loops
+
+ This property holds the number of times the media is played. A value of \c 0 or \c 1 means
+ the media will be played only once; set to \c Audio.Infinite to enable infinite looping.
+
+ The value can be changed while the media is playing, in which case it will update
+ the remaining loops to the new value.
+
+ The default is \c 1.
+*/
+
+/*!
\qmlproperty bool QtMultimedia::Audio::autoLoad
This property indicates if loading of media should begin immediately.
@@ -1233,6 +1245,18 @@ void QDeclarativeAudio::_q_statusChanged()
*/
/*!
+ \qmlproperty int QtMultimedia::MediaPlayer::loops
+
+ This property holds the number of times the media is played. A value of \c 0 or \c 1 means
+ the media will be played only once; set to \c MediaPlayer.Infinite to enable infinite looping.
+
+ The value can be changed while the media is playing, in which case it will update
+ the remaining loops to the new value.
+
+ The default is \c 1.
+*/
+
+/*!
\qmlproperty bool QtMultimedia::MediaPlayer::autoLoad
This property indicates if loading of media should begin immediately.