diff --git a/src/imports/multimedia/qdeclarativeaudio.cpp b/src/imports/multimedia/qdeclarativeaudio.cpp index bce0b7e2..4f741616 100644 --- a/src/imports/multimedia/qdeclarativeaudio.cpp +++ b/src/imports/multimedia/qdeclarativeaudio.cpp @@ -440,6 +440,18 @@ void QDeclarativeAudio::seek(int position) This property holds the source URL of the media. */ +/*! + \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 @@ -1232,6 +1244,18 @@ void QDeclarativeAudio::_q_statusChanged() This property holds the source URL of the media. */ +/*! + \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