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
@@ -71,16 +71,16 @@ public:
|
||||
delete service;
|
||||
}
|
||||
|
||||
QtMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const
|
||||
QMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const
|
||||
{
|
||||
if (codecs.contains(QLatin1String("mpeg4")))
|
||||
return QtMultimedia::NotSupported;
|
||||
return QMultimedia::NotSupported;
|
||||
|
||||
if (mimeType == "audio/ogg") {
|
||||
return QtMultimedia::ProbablySupported;
|
||||
return QMultimedia::ProbablySupported;
|
||||
}
|
||||
|
||||
return QtMultimedia::MaybeSupported;
|
||||
return QMultimedia::MaybeSupported;
|
||||
}
|
||||
|
||||
QStringList supportedMimeTypes() const
|
||||
|
||||
Reference in New Issue
Block a user