diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2011-10-06 14:31:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-07 06:16:34 +0200 |
commit | 03f22bcdaf1f80083618856d6e4140d3062f175b (patch) | |
tree | fdfbf0895f4fbd91fb1f4a247cf09e28a1056096 /src/plugins/qt7 | |
parent | 55bc4f2b46b0099d187db16e049d760cd55626e6 (diff) | |
download | qtmultimedia-03f22bcdaf1f80083618856d6e4140d3062f175b.tar.gz |
Rename QtMultimediaKit to QtMultimedia.
There are a few legacy bits left in place so it passes CI, and
then qt5.git etc can be updated.
Change-Id: I6b082e50e6958c72fdabc2974992e16d90dafa3a
Reviewed-on: http://codereview.qt-project.org/5368
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/plugins/qt7')
-rw-r--r-- | src/plugins/qt7/mediaplayer/qt7playermetadata.h | 6 | ||||
-rw-r--r-- | src/plugins/qt7/mediaplayer/qt7playermetadata.mm | 18 | ||||
-rw-r--r-- | src/plugins/qt7/qcvdisplaylink.h | 2 | ||||
-rw-r--r-- | src/plugins/qt7/qt7.pro | 4 | ||||
-rw-r--r-- | src/plugins/qt7/qt7backend.h | 2 | ||||
-rw-r--r-- | src/plugins/qt7/qt7serviceplugin.h | 2 | ||||
-rw-r--r-- | src/plugins/qt7/qt7serviceplugin.mm | 6 |
7 files changed, 20 insertions, 20 deletions
diff --git a/src/plugins/qt7/mediaplayer/qt7playermetadata.h b/src/plugins/qt7/mediaplayer/qt7playermetadata.h index 49d9b8e01..c5984a425 100644 --- a/src/plugins/qt7/mediaplayer/qt7playermetadata.h +++ b/src/plugins/qt7/mediaplayer/qt7playermetadata.h @@ -58,8 +58,8 @@ public: bool isMetaDataAvailable() const; bool isWritable() const; - QVariant metaData(QtMultimediaKit::MetaData key) const; - QList<QtMultimediaKit::MetaData> availableMetaData() const; + QVariant metaData(QtMultimedia::MetaData key) const; + QList<QtMultimedia::MetaData> availableMetaData() const; QVariant extendedMetaData(const QString &key) const ; QStringList availableExtendedMetaData() const; @@ -69,7 +69,7 @@ private slots: private: QT7PlayerSession *m_session; - QMap<QtMultimediaKit::MetaData, QVariant> m_tags; + QMap<QtMultimedia::MetaData, QVariant> m_tags; }; QT_END_NAMESPACE diff --git a/src/plugins/qt7/mediaplayer/qt7playermetadata.mm b/src/plugins/qt7/mediaplayer/qt7playermetadata.mm index 313a009ed..743243113 100644 --- a/src/plugins/qt7/mediaplayer/qt7playermetadata.mm +++ b/src/plugins/qt7/mediaplayer/qt7playermetadata.mm @@ -72,12 +72,12 @@ bool QT7PlayerMetaDataControl::isWritable() const return false; } -QVariant QT7PlayerMetaDataControl::metaData(QtMultimediaKit::MetaData key) const +QVariant QT7PlayerMetaDataControl::metaData(QtMultimedia::MetaData key) const { return m_tags.value(key); } -QList<QtMultimediaKit::MetaData> QT7PlayerMetaDataControl::availableMetaData() const +QList<QtMultimedia::MetaData> QT7PlayerMetaDataControl::availableMetaData() const { return m_tags.keys(); } @@ -244,13 +244,13 @@ void QT7PlayerMetaDataControl::updateTags() metaMap.insert(QLatin1String("nam"), QString::fromUtf8([name UTF8String])); #endif // QUICKTIME_C_API_AVAILABLE - m_tags.insert(QtMultimediaKit::AlbumArtist, metaMap.value(QLatin1String("ART"))); - m_tags.insert(QtMultimediaKit::AlbumTitle, metaMap.value(QLatin1String("alb"))); - m_tags.insert(QtMultimediaKit::Title, metaMap.value(QLatin1String("nam"))); - m_tags.insert(QtMultimediaKit::Date, metaMap.value(QLatin1String("day"))); - m_tags.insert(QtMultimediaKit::Genre, metaMap.value(QLatin1String("gnre"))); - m_tags.insert(QtMultimediaKit::TrackNumber, metaMap.value(QLatin1String("trk"))); - m_tags.insert(QtMultimediaKit::Description, metaMap.value(QLatin1String("des"))); + m_tags.insert(QtMultimedia::AlbumArtist, metaMap.value(QLatin1String("ART"))); + m_tags.insert(QtMultimedia::AlbumTitle, metaMap.value(QLatin1String("alb"))); + m_tags.insert(QtMultimedia::Title, metaMap.value(QLatin1String("nam"))); + m_tags.insert(QtMultimedia::Date, metaMap.value(QLatin1String("day"))); + m_tags.insert(QtMultimedia::Genre, metaMap.value(QLatin1String("gnre"))); + m_tags.insert(QtMultimedia::TrackNumber, metaMap.value(QLatin1String("trk"))); + m_tags.insert(QtMultimedia::Description, metaMap.value(QLatin1String("des"))); } if (!wasEmpty || !m_tags.isEmpty()) diff --git a/src/plugins/qt7/qcvdisplaylink.h b/src/plugins/qt7/qcvdisplaylink.h index aa71f4cc3..46462eccb 100644 --- a/src/plugins/qt7/qcvdisplaylink.h +++ b/src/plugins/qt7/qcvdisplaylink.h @@ -45,7 +45,7 @@ #include <QtCore/qobject.h> #include <QtCore/qmutex.h> -#include <qtmultimediakitdefs.h> +#include <qtmultimediadefs.h> #include <QuartzCore/CVDisplayLink.h> diff --git a/src/plugins/qt7/qt7.pro b/src/plugins/qt7/qt7.pro index 5be085eb2..34e54cfc5 100644 --- a/src/plugins/qt7/qt7.pro +++ b/src/plugins/qt7/qt7.pro @@ -1,11 +1,11 @@ load(qt_module) TARGET = qqt7engine -QT += multimediakit-private multimediakitwidgets-private network +QT += multimedia-private multimediawidgets-private network PLUGIN_TYPE = mediaservice load(qt_plugin) -DESTDIR = $$QT.multimediakit.plugins/$${PLUGIN_TYPE} +DESTDIR = $$QT.multimedia.plugins/$${PLUGIN_TYPE} !simulator { QT += opengl diff --git a/src/plugins/qt7/qt7backend.h b/src/plugins/qt7/qt7backend.h index 0c2c5d8cf..67ff53abb 100644 --- a/src/plugins/qt7/qt7backend.h +++ b/src/plugins/qt7/qt7backend.h @@ -42,7 +42,7 @@ #ifndef QT7BACKEND_H #define QT7BACKEND_H -#include "qtmultimediakitdefs.h" +#include "qtmultimediadefs.h" #include <QtCore/QString> diff --git a/src/plugins/qt7/qt7serviceplugin.h b/src/plugins/qt7/qt7serviceplugin.h index 36077c703..7ff1249eb 100644 --- a/src/plugins/qt7/qt7serviceplugin.h +++ b/src/plugins/qt7/qt7serviceplugin.h @@ -61,7 +61,7 @@ public: void release(QMediaService *service); QMediaServiceProviderHint::Features supportedFeatures(const QByteArray &service) const; - QtMultimediaKit::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const; + QtMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const; QStringList supportedMimeTypes() const; private: diff --git a/src/plugins/qt7/qt7serviceplugin.mm b/src/plugins/qt7/qt7serviceplugin.mm index b2941100b..843ab41b2 100644 --- a/src/plugins/qt7/qt7serviceplugin.mm +++ b/src/plugins/qt7/qt7serviceplugin.mm @@ -96,14 +96,14 @@ QMediaServiceProviderHint::Features QT7ServicePlugin::supportedFeatures( return QMediaServiceProviderHint::Features(); } -QtMultimediaKit::SupportEstimate QT7ServicePlugin::hasSupport(const QString &mimeType, const QStringList& codecs) const +QtMultimedia::SupportEstimate QT7ServicePlugin::hasSupport(const QString &mimeType, const QStringList& codecs) const { Q_UNUSED(codecs); if (m_supportedMimeTypes.contains(mimeType)) - return QtMultimediaKit::ProbablySupported; + return QtMultimedia::ProbablySupported; - return QtMultimediaKit::MaybeSupported; + return QtMultimedia::MaybeSupported; } QStringList QT7ServicePlugin::supportedMimeTypes() const |