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:
Sze Howe Koh
2012-10-31 19:37:48 +08:00
committed by The Qt Project
parent 0affd9023f
commit 00d7092163
33 changed files with 494 additions and 496 deletions

View File

@@ -397,7 +397,7 @@ Item {
This property holds the title of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -405,7 +405,7 @@ Item {
This property holds the sub-title of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -413,7 +413,7 @@ Item {
This property holds the author of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -421,7 +421,7 @@ Item {
This property holds a user comment about the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -429,7 +429,7 @@ Item {
This property holds a description of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -437,7 +437,7 @@ Item {
This property holds the category of the media
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -445,7 +445,7 @@ Item {
This property holds the genre of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -453,7 +453,7 @@ Item {
This property holds the year of release of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -461,7 +461,7 @@ Item {
This property holds the date of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -469,7 +469,7 @@ Item {
This property holds a user rating of the media in the range of 0 to 100.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -477,7 +477,7 @@ Item {
This property holds a list of keywords describing the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -485,7 +485,7 @@ Item {
This property holds the language of the media, as an ISO 639-2 code.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -493,7 +493,7 @@ Item {
This property holds the publisher of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -501,7 +501,7 @@ Item {
This property holds the media's copyright notice.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -509,7 +509,7 @@ Item {
This property holds the parental rating of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -518,7 +518,7 @@ Item {
This property holds the name of the rating organization responsible for the
parental rating of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -526,7 +526,7 @@ Item {
This property property holds the size of the media in bytes.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -534,7 +534,7 @@ Item {
This property holds the type of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -543,7 +543,7 @@ Item {
This property holds the bit rate of the media's audio stream in bits per
second.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -551,7 +551,7 @@ Item {
This property holds the encoding of the media audio stream.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -559,7 +559,7 @@ Item {
This property holds the average volume level of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -567,7 +567,7 @@ Item {
This property holds the number of channels in the media's audio stream.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -575,7 +575,7 @@ Item {
This property holds the peak volume of the media's audio stream.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -583,7 +583,7 @@ Item {
This property holds the sample rate of the media's audio stream in Hertz.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -591,7 +591,7 @@ Item {
This property holds the title of the album the media belongs to.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -600,7 +600,7 @@ Item {
This property holds the name of the principal artist of the album the media
belongs to.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -608,7 +608,7 @@ Item {
This property holds the names of artists contributing to the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -616,7 +616,7 @@ Item {
This property holds the composer of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -624,7 +624,7 @@ Item {
This property holds the conductor of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -632,7 +632,7 @@ Item {
This property holds the lyrics to the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -640,7 +640,7 @@ Item {
This property holds the mood of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -648,7 +648,7 @@ Item {
This property holds the track number of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -656,7 +656,7 @@ Item {
This property holds the number of track on the album containing the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -664,7 +664,7 @@ Item {
This property holds the URL of a small cover art image.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -672,7 +672,7 @@ Item {
This property holds the URL of a large cover art image.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -680,7 +680,7 @@ Item {
This property holds the dimension of an image or video.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -688,7 +688,7 @@ Item {
This property holds the pixel aspect ratio of an image or video.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -696,7 +696,7 @@ Item {
This property holds the frame rate of the media's video stream.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -705,7 +705,7 @@ Item {
This property holds the bit rate of the media's video stream in bits per
second.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -713,7 +713,7 @@ Item {
This property holds the encoding of the media's video stream.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -721,7 +721,7 @@ Item {
This property holds the URL of a poster image.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -729,7 +729,7 @@ Item {
This property holds the chapter number of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -737,7 +737,7 @@ Item {
This property holds the director of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -745,7 +745,7 @@ Item {
This property holds the lead performer in the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
@@ -753,7 +753,7 @@ Item {
This property holds the writer of the media.
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
// The remaining properties are related to photos, and are technically
@@ -762,156 +762,156 @@ Item {
/*!
\qmlproperty variant Video::metaData.cameraManufacturer
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.cameraModel
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.event
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.subject
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.orientation
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.exposureTime
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.fNumber
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.exposureProgram
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.isoSpeedRatings
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.exposureBiasValue
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.dateTimeDigitized
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.subjectDistance
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.meteringMode
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.lightSource
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.flash
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.focalLength
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.exposureMode
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.whiteBalance
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.DigitalZoomRatio
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.focalLengthIn35mmFilm
\sa {QtMultimedia::MetaData::FocalLengthIn35mmFile}
\sa {QMediaMetaData::FocalLengthIn35mmFile}
*/
/*!
\qmlproperty variant Video::metaData.sceneCaptureType
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.gainControl
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.contrast
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.saturation
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.sharpness
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/
/*!
\qmlproperty variant Video::metaData.deviceSettingDescription
\sa {QtMultimedia::MetaData}
\sa {QMediaMetaData}
*/