summaryrefslogtreecommitdiffstats
path: root/demos/multimedia/player/player.cpp
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-04-16 01:25:04 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-04-16 03:38:58 (GMT)
commit361c347ddc0117df593ef8ab107cdae1065aac83 (patch)
tree6679cf34ecb15fe489a4b5b3dd61c5cfc374da19 /demos/multimedia/player/player.cpp
parentdd9a3a5e7165d285fa96b4bf6b21bc3515d719ff (diff)
downloadQt-361c347ddc0117df593ef8ab107cdae1065aac83.zip
Qt-361c347ddc0117df593ef8ab107cdae1065aac83.tar.gz
Qt-361c347ddc0117df593ef8ab107cdae1065aac83.tar.bz2
QtMediaservices -> QtMediaServices.
Reviewed-by: Dmytro Poplavskiy (cherry picked from commit 24d5c396903c1ce12578a32c2cc10e0ae391e6d5)
Diffstat (limited to 'demos/multimedia/player/player.cpp')
-rw-r--r--demos/multimedia/player/player.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/multimedia/player/player.cpp b/demos/multimedia/player/player.cpp
index 20341bc..6ba19fd 100644
--- a/demos/multimedia/player/player.cpp
+++ b/demos/multimedia/player/player.cpp
@@ -45,8 +45,8 @@
#include "playlistmodel.h"
#include "videowidget.h"
-#include <QtMediaservices/qmediaservice.h>
-#include <QtMediaservices/qmediaplaylist.h>
+#include <QtMediaServices/qmediaservice.h>
+#include <QtMediaServices/qmediaplaylist.h>
#include <QtGui>
@@ -204,14 +204,14 @@ void Player::positionChanged(qint64 progress)
void Player::metaDataChanged()
{
- //qDebug() << "update metadata" << player->metaData(QtMediaservices::Title).toString();
+ //qDebug() << "update metadata" << player->metaData(QtMediaServices::Title).toString();
if (player->isMetaDataAvailable()) {
setTrackInfo(QString("%1 - %2")
- .arg(player->metaData(QtMediaservices::AlbumArtist).toString())
- .arg(player->metaData(QtMediaservices::Title).toString()));
+ .arg(player->metaData(QtMediaServices::AlbumArtist).toString())
+ .arg(player->metaData(QtMediaServices::Title).toString()));
if (coverLabel) {
- QUrl url = player->metaData(QtMediaservices::CoverArtUrlLarge).value<QUrl>();
+ QUrl url = player->metaData(QtMediaServices::CoverArtUrlLarge).value<QUrl>();
coverLabel->setPixmap(!url.isEmpty()
? QPixmap(url.toString())