Add missing documentation for Audio and MediaPlayer loops property.

Task-number: QTBUG-35306
Change-Id: If0e9784ede5db887d3756972e8db54b5485d6cdd
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
Yoann Lopes
2014-03-10 15:08:44 +01:00
committed by The Qt Project
parent f1db56d059
commit 4bb51fef0a

View File

@@ -440,6 +440,18 @@ void QDeclarativeAudio::seek(int position)
This property holds the source URL of the media. 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 \qmlproperty bool QtMultimedia::Audio::autoLoad
@@ -1232,6 +1244,18 @@ void QDeclarativeAudio::_q_statusChanged()
This property holds the source URL of the media. 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 \qmlproperty bool QtMultimedia::MediaPlayer::autoLoad