diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-04-16 01:25:04 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-04-16 02:31:57 (GMT) |
commit | 24d5c396903c1ce12578a32c2cc10e0ae391e6d5 (patch) | |
tree | 8d34b44ce73a6e9645b4a3ef7343fa9f510240dd /src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm | |
parent | 30cd548679d5e2ae026eb5e435e9bdceac6e4987 (diff) | |
download | Qt-24d5c396903c1ce12578a32c2cc10e0ae391e6d5.zip Qt-24d5c396903c1ce12578a32c2cc10e0ae391e6d5.tar.gz Qt-24d5c396903c1ce12578a32c2cc10e0ae391e6d5.tar.bz2 |
QtMediaservices -> QtMediaServices.
Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm')
-rw-r--r-- | src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm b/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm index e12daf5..2ea778d 100644 --- a/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm +++ b/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm @@ -72,18 +72,18 @@ bool QT7PlayerMetaDataControl::isWritable() const return false; } -QVariant QT7PlayerMetaDataControl::metaData(QtMediaservices::MetaData key) const +QVariant QT7PlayerMetaDataControl::metaData(QtMediaServices::MetaData key) const { return m_tags.value(key); } -void QT7PlayerMetaDataControl::setMetaData(QtMediaservices::MetaData key, QVariant const &value) +void QT7PlayerMetaDataControl::setMetaData(QtMediaServices::MetaData key, QVariant const &value) { Q_UNUSED(key); Q_UNUSED(value); } -QList<QtMediaservices::MetaData> QT7PlayerMetaDataControl::availableMetaData() const +QList<QtMediaServices::MetaData> QT7PlayerMetaDataControl::availableMetaData() const { return m_tags.keys(); } @@ -256,13 +256,13 @@ void QT7PlayerMetaDataControl::updateTags() metaMap.insert(QLatin1String("nam"), QString::fromUtf8([name UTF8String])); #endif // QUICKTIME_C_API_AVAILABLE - m_tags.insert(QtMediaservices::AlbumArtist, metaMap.value(QLatin1String("ART"))); - m_tags.insert(QtMediaservices::AlbumTitle, metaMap.value(QLatin1String("alb"))); - m_tags.insert(QtMediaservices::Title, metaMap.value(QLatin1String("nam"))); - m_tags.insert(QtMediaservices::Date, metaMap.value(QLatin1String("day"))); - m_tags.insert(QtMediaservices::Genre, metaMap.value(QLatin1String("gnre"))); - m_tags.insert(QtMediaservices::TrackNumber, metaMap.value(QLatin1String("trk"))); - m_tags.insert(QtMediaservices::Description, metaMap.value(QLatin1String("des"))); + m_tags.insert(QtMediaServices::AlbumArtist, metaMap.value(QLatin1String("ART"))); + m_tags.insert(QtMediaServices::AlbumTitle, metaMap.value(QLatin1String("alb"))); + m_tags.insert(QtMediaServices::Title, metaMap.value(QLatin1String("nam"))); + m_tags.insert(QtMediaServices::Date, metaMap.value(QLatin1String("day"))); + m_tags.insert(QtMediaServices::Genre, metaMap.value(QLatin1String("gnre"))); + m_tags.insert(QtMediaServices::TrackNumber, metaMap.value(QLatin1String("trk"))); + m_tags.insert(QtMediaServices::Description, metaMap.value(QLatin1String("des"))); } if (!wasEmpty || !m_tags.isEmpty()) |