Rename namespace QtMultimedia -> QMultimedia
Main code, examples, tests and docs updated. Method: 1. Mass find+replace "QtMultimedia::" -> "QMultimedia::" 2. Hand-modified declaration in qtmedianamespace.h/cpp For consistency (with minimal disruption), namespaces with a "Qt" prefix will be renamed. Part of the Header Consistency Project (http://lists.qt-project.org/pipermail/development/2012-October/007570.html) Change-Id: I1fbc43a1aa91d996aa61869fcd8d05186bf7cf6d Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
committed by
The Qt Project
parent
13fd00199a
commit
832c3929f2
@@ -65,7 +65,7 @@ public:
|
||||
void release(QMediaService *service);
|
||||
|
||||
QMediaServiceProviderHint::Features supportedFeatures(const QByteArray &service) const;
|
||||
QtMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const;
|
||||
QMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const;
|
||||
QStringList supportedMimeTypes() const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -78,14 +78,14 @@ QMediaServiceProviderHint::Features AVFMediaPlayerServicePlugin::supportedFeatur
|
||||
return QMediaServiceProviderHint::Features();
|
||||
}
|
||||
|
||||
QtMultimedia::SupportEstimate AVFMediaPlayerServicePlugin::hasSupport(const QString &mimeType, const QStringList &codecs) const
|
||||
QMultimedia::SupportEstimate AVFMediaPlayerServicePlugin::hasSupport(const QString &mimeType, const QStringList &codecs) const
|
||||
{
|
||||
Q_UNUSED(codecs);
|
||||
|
||||
if (m_supportedMimeTypes.contains(mimeType))
|
||||
return QtMultimedia::ProbablySupported;
|
||||
return QMultimedia::ProbablySupported;
|
||||
|
||||
return QtMultimedia::MaybeSupported;
|
||||
return QMultimedia::MaybeSupported;
|
||||
}
|
||||
|
||||
QStringList AVFMediaPlayerServicePlugin::supportedMimeTypes() const
|
||||
|
||||
Reference in New Issue
Block a user