summaryrefslogtreecommitdiff
path: root/src/imports/multimedia/qdeclarativeaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/multimedia/qdeclarativeaudio.cpp')
-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.