summaryrefslogtreecommitdiffstats
path: root/demos/multimedia/player/player.cpp
diff options
context:
space:
mode:
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())