summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Molinari <loic.molinari@canonical.com>2015-08-10 00:57:40 +0200
committerYoann Lopes <yoann.lopes@theqtcompany.com>2015-08-10 11:19:58 +0000
commit414b748b23dee51af1e54acf2369639c38256161 (patch)
tree65d5dc572f51d0f01c7d040f4918d10e43889188
parent3c54acb6f7ab082e3c7881701b84593c6372ef6c (diff)
Clean up QMediaPlayer documentation.
Change-Id: I2d744542270f283ccd8ba0160aeda7faa56b2b86 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
-rw-r--r--src/multimedia/playback/qmediaplaylist.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/multimedia/playback/qmediaplaylist.cpp b/src/multimedia/playback/qmediaplaylist.cpp
index d67a3e9ce..3a08b7e56 100644
--- a/src/multimedia/playback/qmediaplaylist.cpp
+++ b/src/multimedia/playback/qmediaplaylist.cpp
@@ -106,7 +106,7 @@ Q_CONSTRUCTOR_FUNCTION(qRegisterMediaPlaylistMetaTypes)
/*!
- Create a new playlist object for with the given \a parent.
+ Create a new playlist object with the given \a parent.
*/
QMediaPlaylist::QMediaPlaylist(QObject *parent)
@@ -302,7 +302,7 @@ int QMediaPlaylist::mediaCount() const
}
/*!
- Returns true if the playlist contains no items; otherwise returns false.
+ Returns true if the playlist contains no items, otherwise returns false.
\sa mediaCount()
*/
@@ -312,7 +312,7 @@ bool QMediaPlaylist::isEmpty() const
}
/*!
- Returns true if the playlist can be modified; otherwise returns false.
+ Returns true if the playlist can be modified, otherwise returns false.
\sa mediaCount()
*/
@@ -333,7 +333,7 @@ QMediaContent QMediaPlaylist::media(int index) const
/*!
Append the media \a content to the playlist.
- Returns true if the operation is successful, otherwise return false.
+ Returns true if the operation is successful, otherwise returns false.
*/
bool QMediaPlaylist::addMedia(const QMediaContent &content)
{
@@ -343,7 +343,7 @@ bool QMediaPlaylist::addMedia(const QMediaContent &content)
/*!
Append multiple media content \a items to the playlist.
- Returns true if the operation is successful, otherwise return false.
+ Returns true if the operation is successful, otherwise returns false.
*/
bool QMediaPlaylist::addMedia(const QList<QMediaContent> &items)
{
@@ -353,7 +353,7 @@ bool QMediaPlaylist::addMedia(const QList<QMediaContent> &items)
/*!
Insert the media \a content to the playlist at position \a pos.
- Returns true if the operation is successful, otherwise false.
+ Returns true if the operation is successful, otherwise returns false.
*/
bool QMediaPlaylist::insertMedia(int pos, const QMediaContent &content)
@@ -364,7 +364,7 @@ bool QMediaPlaylist::insertMedia(int pos, const QMediaContent &content)
/*!
Insert multiple media content \a items to the playlist at position \a pos.
- Returns true if the operation is successful, otherwise false.
+ Returns true if the operation is successful, otherwise returns false.
*/
bool QMediaPlaylist::insertMedia(int pos, const QList<QMediaContent> &items)