Rename namespace QtMultimedia::MetaData -> QMediaMetaData
Main code, examples, tests and docs updated. Method: 1. Remove unused forward-declarations, "class QMediaMetaData" 2. Mass find+replace "QtMultimedia::MetaData" -> "QMediaMetaData" 3. Un-nest from the QtMultimedia namespace in qtmedianamespace.h For consistency (with minimal disruption), namespaces with a "Qt" prefix will be renamed. Also, Qt guidelines don't include nested namespaces (http://lists.qt-project.org/pipermail/development/2012-October/006756.html) Part of the Header Consistency Project (http://lists.qt-project.org/pipermail/development/2012-October/007570.html) Change-Id: I40e59c1cf58c1792725e735e9285c51bc5f226b1 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
0affd9023f
commit
00d7092163
@@ -68,9 +68,9 @@ namespace
|
||||
Fall back to the less-performant QLatin1String in this case.
|
||||
*/
|
||||
#if defined(Q_CC_GNU) && defined(Q_COMPILER_LAMBDA)
|
||||
# define Q_DEFINE_METADATA(key) const QString QtMultimedia::MetaData::key(QStringLiteral(#key))
|
||||
# define Q_DEFINE_METADATA(key) const QString QMediaMetaData::key(QStringLiteral(#key))
|
||||
#else
|
||||
# define Q_DEFINE_METADATA(key) const QString QtMultimedia::MetaData::key(QLatin1String(#key))
|
||||
# define Q_DEFINE_METADATA(key) const QString QMediaMetaData::key(QLatin1String(#key))
|
||||
#endif
|
||||
|
||||
// Common
|
||||
@@ -187,7 +187,7 @@ Q_DEFINE_METADATA(ThumbnailImage);
|
||||
|
||||
|
||||
/*!
|
||||
\namespace QtMultimedia::MetaData
|
||||
\namespace QMediaMetaData
|
||||
\inheaderfile qtmedianamespace.h
|
||||
|
||||
This namespace provides identifiers for meta-data attributes.
|
||||
|
||||
Reference in New Issue
Block a user