summaryrefslogtreecommitdiffstats
path: root/src/imports/multimedia
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2012-01-16 16:40:47 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-20 06:30:37 +0100
commit8ff5b88b27b83438bfe576eea824a4a4d47249ce (patch)
tree1ccb1b0114ec8371ac44a0ab68535c50f8e4e604 /src/imports/multimedia
parent382ba7d4f4c1ca91d59d04faf35a3d75d6430df5 (diff)
Changed metadata keys type from enum to QString.
This allows to combine metaData and extendedMetaData and simplify metadata handling on both backend and application sides. Change-Id: I136eedc86c215be3485db101c43069ca7c82101b Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/imports/multimedia')
-rw-r--r--src/imports/multimedia/Video.qml142
-rw-r--r--src/imports/multimedia/qdeclarativeaudio.cpp90
-rw-r--r--src/imports/multimedia/qdeclarativecameracapture.cpp2
-rw-r--r--src/imports/multimedia/qdeclarativecamerarecorder.cpp2
-rw-r--r--src/imports/multimedia/qdeclarativemediabase.cpp8
-rw-r--r--src/imports/multimedia/qdeclarativemediametadata_p.h92
6 files changed, 166 insertions, 170 deletions
diff --git a/src/imports/multimedia/Video.qml b/src/imports/multimedia/Video.qml
index 52cc32f4f..d877c7efa 100644
--- a/src/imports/multimedia/Video.qml
+++ b/src/imports/multimedia/Video.qml
@@ -346,7 +346,7 @@ Item {
This property holds the title of the media.
- \sa {QtMultimedia::Title}
+ \sa {QtMultimedia::MetaData::Title}
*/
/*!
@@ -354,7 +354,7 @@ Item {
This property holds the sub-title of the media.
- \sa {QtMultimedia::SubTitle}
+ \sa {QtMultimedia::MetaData::SubTitle}
*/
/*!
@@ -362,7 +362,7 @@ Item {
This property holds the author of the media.
- \sa {QtMultimedia::Author}
+ \sa {QtMultimedia::MetaData::Author}
*/
/*!
@@ -370,7 +370,7 @@ Item {
This property holds a user comment about the media.
- \sa {QtMultimedia::Comment}
+ \sa {QtMultimedia::MetaData::Comment}
*/
/*!
@@ -378,7 +378,7 @@ Item {
This property holds a description of the media.
- \sa {QtMultimedia::Description}
+ \sa {QtMultimedia::MetaData::Description}
*/
/*!
@@ -386,7 +386,7 @@ Item {
This property holds the category of the media
- \sa {QtMultimedia::Category}
+ \sa {QtMultimedia::MetaData::Category}
*/
/*!
@@ -394,7 +394,7 @@ Item {
This property holds the genre of the media.
- \sa {QtMultimedia::Genre}
+ \sa {QtMultimedia::MetaData::Genre}
*/
/*!
@@ -402,7 +402,7 @@ Item {
This property holds the year of release of the media.
- \sa {QtMultimedia::Year}
+ \sa {QtMultimedia::MetaData::Year}
*/
/*!
@@ -410,7 +410,7 @@ Item {
This property holds the date of the media.
- \sa {QtMultimedia::Date}
+ \sa {QtMultimedia::MetaData::Date}
*/
/*!
@@ -418,7 +418,7 @@ Item {
This property holds a user rating of the media in the range of 0 to 100.
- \sa {QtMultimedia::UserRating}
+ \sa {QtMultimedia::MetaData::UserRating}
*/
/*!
@@ -426,7 +426,7 @@ Item {
This property holds a list of keywords describing the media.
- \sa {QtMultimedia::Keywords}
+ \sa {QtMultimedia::MetaData::Keywords}
*/
/*!
@@ -434,7 +434,7 @@ Item {
This property holds the language of the media, as an ISO 639-2 code.
- \sa {QtMultimedia::Language}
+ \sa {QtMultimedia::MetaData::Language}
*/
/*!
@@ -442,7 +442,7 @@ Item {
This property holds the publisher of the media.
- \sa {QtMultimedia::Publisher}
+ \sa {QtMultimedia::MetaData::Publisher}
*/
/*!
@@ -450,7 +450,7 @@ Item {
This property holds the media's copyright notice.
- \sa {QtMultimedia::Copyright}
+ \sa {QtMultimedia::MetaData::Copyright}
*/
/*!
@@ -458,7 +458,7 @@ Item {
This property holds the parental rating of the media.
- \sa {QtMultimedia::ParentalRating}
+ \sa {QtMultimedia::MetaData::ParentalRating}
*/
/*!
@@ -467,7 +467,7 @@ Item {
This property holds the name of the rating organization responsible for the
parental rating of the media.
- \sa {QtMultimedia::RatingOrganization}
+ \sa {QtMultimedia::MetaData::RatingOrganization}
*/
/*!
@@ -475,7 +475,7 @@ Item {
This property property holds the size of the media in bytes.
- \sa {QtMultimedia::Size}
+ \sa {QtMultimedia::MetaData::Size}
*/
/*!
@@ -483,7 +483,7 @@ Item {
This property holds the type of the media.
- \sa {QtMultimedia::MediaType}
+ \sa {QtMultimedia::MetaData::MediaType}
*/
/*!
@@ -492,7 +492,7 @@ Item {
This property holds the bit rate of the media's audio stream in bits per
second.
- \sa {QtMultimedia::AudioBitRate}
+ \sa {QtMultimedia::MetaData::AudioBitRate}
*/
/*!
@@ -500,7 +500,7 @@ Item {
This property holds the encoding of the media audio stream.
- \sa {QtMultimedia::AudioCodec}
+ \sa {QtMultimedia::MetaData::AudioCodec}
*/
/*!
@@ -508,7 +508,7 @@ Item {
This property holds the average volume level of the media.
- \sa {QtMultimedia::AverageLevel}
+ \sa {QtMultimedia::MetaData::AverageLevel}
*/
/*!
@@ -516,7 +516,7 @@ Item {
This property holds the number of channels in the media's audio stream.
- \sa {QtMultimedia::ChannelCount}
+ \sa {QtMultimedia::MetaData::ChannelCount}
*/
/*!
@@ -524,7 +524,7 @@ Item {
This property holds the peak volume of the media's audio stream.
- \sa {QtMultimedia::PeakValue}
+ \sa {QtMultimedia::MetaData::PeakValue}
*/
/*!
@@ -532,7 +532,7 @@ Item {
This property holds the sample rate of the media's audio stream in Hertz.
- \sa {QtMultimedia::SampleRate}
+ \sa {QtMultimedia::MetaData::SampleRate}
*/
/*!
@@ -540,7 +540,7 @@ Item {
This property holds the title of the album the media belongs to.
- \sa {QtMultimedia::AlbumTitle}
+ \sa {QtMultimedia::MetaData::AlbumTitle}
*/
/*!
@@ -549,7 +549,7 @@ Item {
This property holds the name of the principal artist of the album the media
belongs to.
- \sa {QtMultimedia::AlbumArtist}
+ \sa {QtMultimedia::MetaData::AlbumArtist}
*/
/*!
@@ -557,7 +557,7 @@ Item {
This property holds the names of artists contributing to the media.
- \sa {QtMultimedia::ContributingArtist}
+ \sa {QtMultimedia::MetaData::ContributingArtist}
*/
/*!
@@ -565,7 +565,7 @@ Item {
This property holds the composer of the media.
- \sa {QtMultimedia::Composer}
+ \sa {QtMultimedia::MetaData::Composer}
*/
/*!
@@ -573,7 +573,7 @@ Item {
This property holds the conductor of the media.
- \sa {QtMultimedia::Conductor}
+ \sa {QtMultimedia::MetaData::Conductor}
*/
/*!
@@ -581,7 +581,7 @@ Item {
This property holds the lyrics to the media.
- \sa {QtMultimedia::Lyrics}
+ \sa {QtMultimedia::MetaData::Lyrics}
*/
/*!
@@ -589,7 +589,7 @@ Item {
This property holds the mood of the media.
- \sa {QtMultimedia::Mood}
+ \sa {QtMultimedia::MetaData::Mood}
*/
/*!
@@ -597,7 +597,7 @@ Item {
This property holds the track number of the media.
- \sa {QtMultimedia::TrackNumber}
+ \sa {QtMultimedia::MetaData::TrackNumber}
*/
/*!
@@ -605,7 +605,7 @@ Item {
This property holds the number of track on the album containing the media.
- \sa {QtMultimedia::TrackNumber}
+ \sa {QtMultimedia::MetaData::TrackNumber}
*/
/*!
@@ -613,7 +613,7 @@ Item {
This property holds the URL of a small cover art image.
- \sa {QtMultimedia::CoverArtUrlSmall}
+ \sa {QtMultimedia::MetaData::CoverArtUrlSmall}
*/
/*!
@@ -621,7 +621,7 @@ Item {
This property holds the URL of a large cover art image.
- \sa {QtMultimedia::CoverArtUrlLarge}
+ \sa {QtMultimedia::MetaData::CoverArtUrlLarge}
*/
/*!
@@ -629,7 +629,7 @@ Item {
This property holds the dimension of an image or video.
- \sa {QtMultimedia::Resolution}
+ \sa {QtMultimedia::MetaData::Resolution}
*/
/*!
@@ -637,7 +637,7 @@ Item {
This property holds the pixel aspect ratio of an image or video.
- \sa {QtMultimedia::PixelAspectRatio}
+ \sa {QtMultimedia::MetaData::PixelAspectRatio}
*/
/*!
@@ -645,7 +645,7 @@ Item {
This property holds the frame rate of the media's video stream.
- \sa {QtMultimedia::VideoFrameRate}
+ \sa {QtMultimedia::MetaData::VideoFrameRate}
*/
/*!
@@ -654,7 +654,7 @@ Item {
This property holds the bit rate of the media's video stream in bits per
second.
- \sa {QtMultimedia::VideoBitRate}
+ \sa {QtMultimedia::MetaData::VideoBitRate}
*/
/*!
@@ -662,7 +662,7 @@ Item {
This property holds the encoding of the media's video stream.
- \sa {QtMultimedia::VideoCodec}
+ \sa {QtMultimedia::MetaData::VideoCodec}
*/
/*!
@@ -670,7 +670,7 @@ Item {
This property holds the URL of a poster image.
- \sa {QtMultimedia::PosterUrl}
+ \sa {QtMultimedia::MetaData::PosterUrl}
*/
/*!
@@ -678,7 +678,7 @@ Item {
This property holds the chapter number of the media.
- \sa {QtMultimedia::ChapterNumber}
+ \sa {QtMultimedia::MetaData::ChapterNumber}
*/
/*!
@@ -686,7 +686,7 @@ Item {
This property holds the director of the media.
- \sa {QtMultimedia::Director}
+ \sa {QtMultimedia::MetaData::Director}
*/
/*!
@@ -694,7 +694,7 @@ Item {
This property holds the lead performer in the media.
- \sa {QtMultimedia::LeadPerformer}
+ \sa {QtMultimedia::MetaData::LeadPerformer}
*/
/*!
@@ -702,7 +702,7 @@ Item {
This property holds the writer of the media.
- \sa {QtMultimedia::Writer}
+ \sa {QtMultimedia::MetaData::Writer}
*/
// The remaining properties are related to photos, and are technically
@@ -711,156 +711,156 @@ Item {
/*!
\qmlproperty variant Video::metaData.cameraManufacturer
- \sa {QtMultimedia::CameraManufacturer}
+ \sa {QtMultimedia::MetaData::CameraManufacturer}
*/
/*!
\qmlproperty variant Video::metaData.cameraModel
- \sa {QtMultimedia::CameraModel}
+ \sa {QtMultimedia::MetaData::CameraModel}
*/
/*!
\qmlproperty variant Video::metaData.event
- \sa {QtMultimedia::Event}
+ \sa {QtMultimedia::MetaData::Event}
*/
/*!
\qmlproperty variant Video::metaData.subject
- \sa {QtMultimedia::Subject}
+ \sa {QtMultimedia::MetaData::Subject}
*/
/*!
\qmlproperty variant Video::metaData.orientation
- \sa {QtMultimedia::Orientation}
+ \sa {QtMultimedia::MetaData::Orientation}
*/
/*!
\qmlproperty variant Video::metaData.exposureTime
- \sa {QtMultimedia::ExposureTime}
+ \sa {QtMultimedia::MetaData::ExposureTime}
*/
/*!
\qmlproperty variant Video::metaData.fNumber
- \sa {QtMultimedia::FNumber}
+ \sa {QtMultimedia::MetaData::FNumber}
*/
/*!
\qmlproperty variant Video::metaData.exposureProgram
- \sa {QtMultimedia::ExposureProgram}
+ \sa {QtMultimedia::MetaData::ExposureProgram}
*/
/*!
\qmlproperty variant Video::metaData.isoSpeedRatings
- \sa {QtMultimedia::ISOSpeedRatings}
+ \sa {QtMultimedia::MetaData::ISOSpeedRatings}
*/
/*!
\qmlproperty variant Video::metaData.exposureBiasValue
- \sa {QtMultimedia::ExposureBiasValue}
+ \sa {QtMultimedia::MetaData::ExposureBiasValue}
*/
/*!
\qmlproperty variant Video::metaData.dateTimeDigitized
- \sa {QtMultimedia::DateTimeDigitized}
+ \sa {QtMultimedia::MetaData::DateTimeDigitized}
*/
/*!
\qmlproperty variant Video::metaData.subjectDistance
- \sa {QtMultimedia::SubjectDistance}
+ \sa {QtMultimedia::MetaData::SubjectDistance}
*/
/*!
\qmlproperty variant Video::metaData.meteringMode
- \sa {QtMultimedia::MeteringMode}
+ \sa {QtMultimedia::MetaData::MeteringMode}
*/
/*!
\qmlproperty variant Video::metaData.lightSource
- \sa {QtMultimedia::LightSource}
+ \sa {QtMultimedia::MetaData::LightSource}
*/
/*!
\qmlproperty variant Video::metaData.flash
- \sa {QtMultimedia::Flash}
+ \sa {QtMultimedia::MetaData::Flash}
*/
/*!
\qmlproperty variant Video::metaData.focalLength
- \sa {QtMultimedia::FocalLength}
+ \sa {QtMultimedia::MetaData::FocalLength}
*/
/*!
\qmlproperty variant Video::metaData.exposureMode
- \sa {QtMultimedia::ExposureMode}
+ \sa {QtMultimedia::MetaData::ExposureMode}
*/
/*!
\qmlproperty variant Video::metaData.whiteBalance
- \sa {QtMultimedia::WhiteBalance}
+ \sa {QtMultimedia::MetaData::WhiteBalance}
*/
/*!
\qmlproperty variant Video::metaData.DigitalZoomRatio
- \sa {QtMultimedia::DigitalZoomRatio}
+ \sa {QtMultimedia::MetaData::DigitalZoomRatio}
*/
/*!
\qmlproperty variant Video::metaData.focalLengthIn35mmFilm
- \sa {QtMultimedia::FocalLengthIn35mmFile}
+ \sa {QtMultimedia::MetaData::FocalLengthIn35mmFile}
*/
/*!
\qmlproperty variant Video::metaData.sceneCaptureType
- \sa {QtMultimedia::SceneCaptureType}
+ \sa {QtMultimedia::MetaData::SceneCaptureType}
*/
/*!
\qmlproperty variant Video::metaData.gainControl
- \sa {QtMultimedia::GainControl}
+ \sa {QtMultimedia::MetaData::GainControl}
*/
/*!
\qmlproperty variant Video::metaData.contrast
- \sa {QtMultimedia::contrast}
+ \sa {QtMultimedia::MetaData::contrast}
*/
/*!
\qmlproperty variant Video::metaData.saturation
- \sa {QtMultimedia::Saturation}
+ \sa {QtMultimedia::MetaData::Saturation}
*/
/*!
\qmlproperty variant Video::metaData.sharpness
- \sa {QtMultimedia::Sharpness}
+ \sa {QtMultimedia::MetaData::Sharpness}
*/
/*!
\qmlproperty variant Video::metaData.deviceSettingDescription
- \sa {QtMultimedia::DeviceSettingDescription}
+ \sa {QtMultimedia::MetaData::DeviceSettingDescription}
*/
diff --git a/src/imports/multimedia/qdeclarativeaudio.cpp b/src/imports/multimedia/qdeclarativeaudio.cpp
index a09c342b2..207094e68 100644
--- a/src/imports/multimedia/qdeclarativeaudio.cpp
+++ b/src/imports/multimedia/qdeclarativeaudio.cpp
@@ -363,7 +363,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the tile of the media.
- \sa {QtMultimedia::Title}
+ \sa {QtMultimedia::MetaData::Title}
*/
/*!
@@ -371,7 +371,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the sub-title of the media.
- \sa {QtMultimedia::SubTitle}
+ \sa {QtMultimedia::MetaData::SubTitle}
*/
/*!
@@ -379,7 +379,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the author of the media.
- \sa {QtMultimedia::Author}
+ \sa {QtMultimedia::MetaData::Author}
*/
/*!
@@ -387,7 +387,7 @@ void QDeclarativeAudio::componentComplete()
This property holds a user comment about the media.
- \sa {QtMultimedia::Comment}
+ \sa {QtMultimedia::MetaData::Comment}
*/
/*!
@@ -395,7 +395,7 @@ void QDeclarativeAudio::componentComplete()
This property holds a description of the media.
- \sa {QtMultimedia::Description}
+ \sa {QtMultimedia::MetaData::Description}
*/
/*!
@@ -403,7 +403,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the category of the media
- \sa {QtMultimedia::Category}
+ \sa {QtMultimedia::MetaData::Category}
*/
/*!
@@ -411,7 +411,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the genre of the media.
- \sa {QtMultimedia::Genre}
+ \sa {QtMultimedia::MetaData::Genre}
*/
/*!
@@ -419,7 +419,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the year of release of the media.
- \sa {QtMultimedia::Year}
+ \sa {QtMultimedia::MetaData::Year}
*/
/*!
@@ -427,7 +427,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the date of the media.
- \sa {QtMultimedia::Date}
+ \sa {QtMultimedia::MetaData::Date}
*/
/*!
@@ -435,7 +435,7 @@ void QDeclarativeAudio::componentComplete()
This property holds a user rating of the media in the range of 0 to 100.
- \sa {QtMultimedia::UserRating}
+ \sa {QtMultimedia::MetaData::UserRating}
*/
/*!
@@ -443,7 +443,7 @@ void QDeclarativeAudio::componentComplete()
This property holds a list of keywords describing the media.
- \sa {QtMultimedia::Keywords}
+ \sa {QtMultimedia::MetaData::Keywords}
*/
/*!
@@ -451,7 +451,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the language of the media, as an ISO 639-2 code.
- \sa {QtMultimedia::Language}
+ \sa {QtMultimedia::MetaData::Language}
*/
/*!
@@ -459,7 +459,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the publisher of the media.
- \sa {QtMultimedia::Publisher}
+ \sa {QtMultimedia::MetaData::Publisher}
*/
/*!
@@ -467,7 +467,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the media's copyright notice.
- \sa {QtMultimedia::Copyright}
+ \sa {QtMultimedia::MetaData::Copyright}
*/
/*!
@@ -475,7 +475,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the parental rating of the media.
- \sa {QtMultimedia::ParentalRating}
+ \sa {QtMultimedia::MetaData::ParentalRating}
*/
/*!
@@ -484,7 +484,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the name of the rating organization responsible for the
parental rating of the media.
- \sa {QtMultimedia::RatingOrganization}
+ \sa {QtMultimedia::MetaData::RatingOrganization}
*/
/*!
@@ -492,7 +492,7 @@ void QDeclarativeAudio::componentComplete()
This property property holds the size of the media in bytes.
- \sa {QtMultimedia::Size}
+ \sa {QtMultimedia::MetaData::Size}
*/
/*!
@@ -500,7 +500,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the type of the media.
- \sa {QtMultimedia::MediaType}
+ \sa {QtMultimedia::MetaData::MediaType}
*/
/*!
@@ -509,7 +509,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the bit rate of the media's audio stream ni bits per
second.
- \sa {QtMultimedia::AudioBitRate}
+ \sa {QtMultimedia::MetaData::AudioBitRate}
*/
/*!
@@ -517,7 +517,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the encoding of the media audio stream.
- \sa {QtMultimedia::AudioCodec}
+ \sa {QtMultimedia::MetaData::AudioCodec}
*/
/*!
@@ -525,7 +525,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the average volume level of the media.
- \sa {QtMultimedia::AverageLevel}
+ \sa {QtMultimedia::MetaData::AverageLevel}
*/
/*!
@@ -533,7 +533,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the number of channels in the media's audio stream.
- \sa {QtMultimedia::ChannelCount}
+ \sa {QtMultimedia::MetaData::ChannelCount}
*/
/*!
@@ -541,7 +541,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the peak volume of media's audio stream.
- \sa {QtMultimedia::PeakValue}
+ \sa {QtMultimedia::MetaData::PeakValue}
*/
/*!
@@ -549,7 +549,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the sample rate of the media's audio stream in hertz.
- \sa {QtMultimedia::SampleRate}
+ \sa {QtMultimedia::MetaData::SampleRate}
*/
/*!
@@ -557,7 +557,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the title of the album the media belongs to.
- \sa {QtMultimedia::AlbumTitle}
+ \sa {QtMultimedia::MetaData::AlbumTitle}
*/
/*!
@@ -566,7 +566,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the name of the principal artist of the album the media
belongs to.
- \sa {QtMultimedia::AlbumArtist}
+ \sa {QtMultimedia::MetaData::AlbumArtist}
*/
/*!
@@ -574,7 +574,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the names of artists contributing to the media.
- \sa {QtMultimedia::ContributingArtist}
+ \sa {QtMultimedia::MetaData::ContributingArtist}
*/
/*!
@@ -582,7 +582,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the composer of the media.
- \sa {QtMultimedia::Composer}
+ \sa {QtMultimedia::MetaData::Composer}
*/
/*!
@@ -590,7 +590,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the conductor of the media.
- \sa {QtMultimedia::Conductor}
+ \sa {QtMultimedia::MetaData::Conductor}
*/
/*!
@@ -598,7 +598,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the lyrics to the media.
- \sa {QtMultimedia::Lyrics}
+ \sa {QtMultimedia::MetaData::Lyrics}
*/
/*!
@@ -606,7 +606,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the mood of the media.
- \sa {QtMultimedia::Mood}
+ \sa {QtMultimedia::MetaData::Mood}
*/
/*!
@@ -614,7 +614,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the track number of the media.
- \sa {QtMultimedia::TrackNumber}
+ \sa {QtMultimedia::MetaData::TrackNumber}
*/
/*!
@@ -622,7 +622,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the number of track on the album containing the media.
- \sa {QtMultimedia::TrackNumber}
+ \sa {QtMultimedia::MetaData::TrackNumber}
*/
/*!
@@ -630,7 +630,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the URL of a small cover art image.
- \sa {QtMultimedia::CoverArtUrlSmall}
+ \sa {QtMultimedia::MetaData::CoverArtUrlSmall}
*/
/*!
@@ -638,7 +638,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the URL of a large cover art image.
- \sa {QtMultimedia::CoverArtUrlLarge}
+ \sa {QtMultimedia::MetaData::CoverArtUrlLarge}
*/
/*!
@@ -646,7 +646,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the dimension of an image or video.
- \sa {QtMultimedia::Resolution}
+ \sa {QtMultimedia::MetaData::Resolution}
*/
/*!
@@ -654,7 +654,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the pixel aspect ratio of an image or video.
- \sa {QtMultimedia::PixelAspectRatio}
+ \sa {QtMultimedia::MetaData::PixelAspectRatio}
*/
/*!
@@ -662,7 +662,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the frame rate of the media's video stream.
- \sa {QtMultimedia::VideoFrameRate}
+ \sa {QtMultimedia::MetaData::VideoFrameRate}
*/
/*!
@@ -671,7 +671,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the bit rate of the media's video stream in bits per
second.
- \sa {QtMultimedia::VideoBitRate}
+ \sa {QtMultimedia::MetaData::VideoBitRate}
*/
/*!
@@ -679,7 +679,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the encoding of the media's video stream.
- \sa {QtMultimedia::VideoCodec}
+ \sa {QtMultimedia::MetaData::VideoCodec}
*/
/*!
@@ -687,7 +687,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the URL of a poster image.
- \sa {QtMultimedia::PosterUrl}
+ \sa {QtMultimedia::MetaData::PosterUrl}
*/
/*!
@@ -695,7 +695,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the chapter number of the media.
- \sa {QtMultimedia::ChapterNumber}
+ \sa {QtMultimedia::MetaData::ChapterNumber}
*/
/*!
@@ -703,7 +703,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the director of the media.
- \sa {QtMultimedia::Director}
+ \sa {QtMultimedia::MetaData::Director}
*/
/*!
@@ -711,7 +711,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the lead performer in the media.
- \sa {QtMultimedia::LeadPerformer}
+ \sa {QtMultimedia::MetaData::LeadPerformer}
*/
/*!
@@ -719,7 +719,7 @@ void QDeclarativeAudio::componentComplete()
This property holds the writer of the media.
- \sa {QtMultimedia::Writer}
+ \sa {QtMultimedia::MetaData::Writer}
*/
QT_END_NAMESPACE
diff --git a/src/imports/multimedia/qdeclarativecameracapture.cpp b/src/imports/multimedia/qdeclarativecameracapture.cpp
index 8238ed1fb..a9b8d9199 100644
--- a/src/imports/multimedia/qdeclarativecameracapture.cpp
+++ b/src/imports/multimedia/qdeclarativecameracapture.cpp
@@ -210,7 +210,7 @@ QString QDeclarativeCameraCapture::errorString() const
void QDeclarativeCameraCapture::setMetadata(const QString &key, const QVariant &value)
{
if (m_metadataWriterControl)
- m_metadataWriterControl->setExtendedMetaData(key, value);
+ m_metadataWriterControl->setMetaData(key, value);
}
/*!
diff --git a/src/imports/multimedia/qdeclarativecamerarecorder.cpp b/src/imports/multimedia/qdeclarativecamerarecorder.cpp
index 9e15d5596..86a68ad92 100644
--- a/src/imports/multimedia/qdeclarativecamerarecorder.cpp
+++ b/src/imports/multimedia/qdeclarativecamerarecorder.cpp
@@ -206,7 +206,7 @@ void QDeclarativeCameraRecorder::setMuted(bool muted)
void QDeclarativeCameraRecorder::setMetadata(const QString &key, const QVariant &value)
{
- m_recorder->setExtendedMetaData(key, value);
+ m_recorder->setMetaData(key, value);
}
void QDeclarativeCameraRecorder::updateRecorderState(QMediaRecorder::State state)
diff --git a/src/imports/multimedia/qdeclarativemediabase.cpp b/src/imports/multimedia/qdeclarativemediabase.cpp
index 4f4b1df1b..9e41fcefb 100644
--- a/src/imports/multimedia/qdeclarativemediabase.cpp
+++ b/src/imports/multimedia/qdeclarativemediabase.cpp
@@ -109,12 +109,8 @@ public:
bool isMetaDataAvailable() const { return false; }
- QVariant metaData(QtMultimedia::MetaData) const { return QVariant(); }
- QList<QtMultimedia::MetaData> availableMetaData() const {
- return QList<QtMultimedia::MetaData>(); }
-
- QVariant extendedMetaData(const QString &) const { return QVariant(); }
- QStringList availableExtendedMetaData() const { return QStringList(); }
+ QVariant metaData(const QString &) const { return QVariant(); }
+ QStringList availableMetaData() const { return QStringList(); }
};
class QDeclarativeMediaBaseAnimation : public QObject
diff --git a/src/imports/multimedia/qdeclarativemediametadata_p.h b/src/imports/multimedia/qdeclarativemediametadata_p.h
index c67507472..843de553c 100644
--- a/src/imports/multimedia/qdeclarativemediametadata_p.h
+++ b/src/imports/multimedia/qdeclarativemediametadata_p.h
@@ -117,57 +117,57 @@ public:
{
}
- QVariant title() const { return m_control->metaData(QtMultimedia::Title); }
- QVariant subTitle() const { return m_control->metaData(QtMultimedia::SubTitle); }
- QVariant author() const { return m_control->metaData(QtMultimedia::Author); }
- QVariant comment() const { return m_control->metaData(QtMultimedia::Comment); }
- QVariant description() const { return m_control->metaData(QtMultimedia::Description); }
- QVariant category() const { return m_control->metaData(QtMultimedia::Category); }
- QVariant genre() const { return m_control->metaData(QtMultimedia::Genre); }
- QVariant year() const { return m_control->metaData(QtMultimedia::Year); }
- QVariant date() const { return m_control->metaData(QtMultimedia::Date); }
- QVariant userRating() const { return m_control->metaData(QtMultimedia::UserRating); }
- QVariant keywords() const { return m_control->metaData(QtMultimedia::Keywords); }
- QVariant language() const { return m_control->metaData(QtMultimedia::Language); }
- QVariant publisher() const { return m_control->metaData(QtMultimedia::Publisher); }
- QVariant copyright() const { return m_control->metaData(QtMultimedia::Copyright); }
- QVariant parentalRating() const { return m_control->metaData(QtMultimedia::ParentalRating); }
+ QVariant title() const { return m_control->metaData(QtMultimedia::MetaData::Title); }
+ QVariant subTitle() const { return m_control->metaData(QtMultimedia::MetaData::SubTitle); }
+ QVariant author() const { return m_control->metaData(QtMultimedia::MetaData::Author); }
+ QVariant comment() const { return m_control->metaData(QtMultimedia::MetaData::Comment); }
+ QVariant description() const { return m_control->metaData(QtMultimedia::MetaData::Description); }
+ QVariant category() const { return m_control->metaData(QtMultimedia::MetaData::Category); }
+ QVariant genre() const { return m_control->metaData(QtMultimedia::MetaData::Genre); }
+ QVariant year() const { return m_control->metaData(QtMultimedia::MetaData::Year); }
+ QVariant date() const { return m_control->metaData(QtMultimedia::MetaData::Date); }
+ QVariant userRating() const { return m_control->metaData(QtMultimedia::MetaData::UserRating); }
+ QVariant keywords() const { return m_control->metaData(QtMultimedia::MetaData::Keywords); }
+ QVariant language() const { return m_control->metaData(QtMultimedia::MetaData::Language); }
+ QVariant publisher() const { return m_control->metaData(QtMultimedia::MetaData::Publisher); }
+ QVariant copyright() const { return m_control->metaData(QtMultimedia::MetaData::Copyright); }
+ QVariant parentalRating() const { return m_control->metaData(QtMultimedia::MetaData::ParentalRating); }
QVariant ratingOrganization() const {
- return m_control->metaData(QtMultimedia::RatingOrganization); }
- QVariant size() const { return m_control->metaData(QtMultimedia::Size); }
- QVariant mediaType() const { return m_control->metaData(QtMultimedia::MediaType); }
- QVariant duration() const { return m_control->metaData(QtMultimedia::Duration); }
- QVariant audioBitRate() const { return m_control->metaData(QtMultimedia::AudioBitRate); }
- QVariant audioCodec() const { return m_control->metaData(QtMultimedia::AudioCodec); }
- QVariant averageLevel() const { return m_control->metaData(QtMultimedia::AverageLevel); }
- QVariant channelCount() const { return m_control->metaData(QtMultimedia::ChannelCount); }
- QVariant peakValue() const { return m_control->metaData(QtMultimedia::PeakValue); }
- QVariant sampleRate() const { return m_control->metaData(QtMultimedia::SampleRate); }
- QVariant albumTitle() const { return m_control->metaData(QtMultimedia::AlbumTitle); }
- QVariant albumArtist() const { return m_control->metaData(QtMultimedia::AlbumArtist); }
+ return m_control->metaData(QtMultimedia::MetaData::RatingOrganization); }
+ QVariant size() const { return m_control->metaData(QtMultimedia::MetaData::Size); }
+ QVariant mediaType() const { return m_control->metaData(QtMultimedia::MetaData::MediaType); }
+ QVariant duration() const { return m_control->metaData(QtMultimedia::MetaData::Duration); }
+ QVariant audioBitRate() const { return m_control->metaData(QtMultimedia::MetaData::AudioBitRate); }
+ QVariant audioCodec() const { return m_control->metaData(QtMultimedia::MetaData::AudioCodec); }
+ QVariant averageLevel() const { return m_control->metaData(QtMultimedia::MetaData::AverageLevel); }
+ QVariant channelCount() const { return m_control->metaData(QtMultimedia::MetaData::ChannelCount); }
+ QVariant peakValue() const { return m_control->metaData(QtMultimedia::MetaData::PeakValue); }
+ QVariant sampleRate() const { return m_control->metaData(QtMultimedia::MetaData::SampleRate); }
+ QVariant albumTitle() const { return m_control->metaData(QtMultimedia::MetaData::AlbumTitle); }
+ QVariant albumArtist() const { return m_control->metaData(QtMultimedia::MetaData::AlbumArtist); }
QVariant contributingArtist() const {
- return m_control->metaData(QtMultimedia::ContributingArtist); }
- QVariant composer() const { return m_control->metaData(QtMultimedia::Composer); }
- QVariant conductor() const { return m_control->metaData(QtMultimedia::Conductor); }
- QVariant lyrics() const { return m_control->metaData(QtMultimedia::Lyrics); }
- QVariant mood() const { return m_control->metaData(QtMultimedia::Mood); }
- QVariant trackNumber() const { return m_control->metaData(QtMultimedia::TrackNumber); }
- QVariant trackCount() const { return m_control->metaData(QtMultimedia::TrackCount); }
+ return m_control->metaData(QtMultimedia::MetaData::ContributingArtist); }
+ QVariant composer() const { return m_control->metaData(QtMultimedia::MetaData::Composer); }
+ QVariant conductor() const { return m_control->metaData(QtMultimedia::MetaData::Conductor); }
+ QVariant lyrics() const { return m_control->metaData(QtMultimedia::MetaData::Lyrics); }
+ QVariant mood() const { return m_control->metaData(QtMultimedia::MetaData::Mood); }
+ QVariant trackNumber() const { return m_control->metaData(QtMultimedia::MetaData::TrackNumber); }
+ QVariant trackCount() const { return m_control->metaData(QtMultimedia::MetaData::TrackCount); }
QVariant coverArtUrlSmall() const {
- return m_control->metaData(QtMultimedia::CoverArtUrlSmall); }
+ return m_control->metaData(QtMultimedia::MetaData::CoverArtUrlSmall); }
QVariant coverArtUrlLarge() const {
- return m_control->metaData(QtMultimedia::CoverArtUrlLarge); }
- QVariant resolution() const { return m_control->metaData(QtMultimedia::Resolution); }
+ return m_control->metaData(QtMultimedia::MetaData::CoverArtUrlLarge); }
+ QVariant resolution() const { return m_control->metaData(QtMultimedia::MetaData::Resolution); }
QVariant pixelAspectRatio() const {
- return m_control->metaData(QtMultimedia::PixelAspectRatio); }
- QVariant videoFrameRate() const { return m_control->metaData(QtMultimedia::VideoFrameRate); }
- QVariant videoBitRate() const { return m_control->metaData(QtMultimedia::VideoBitRate); }
- QVariant videoCodec() const { return m_control->metaData(QtMultimedia::VideoCodec); }
- QVariant posterUrl() const { return m_control->metaData(QtMultimedia::PosterUrl); }
- QVariant chapterNumber() const { return m_control->metaData(QtMultimedia::ChapterNumber); }
- QVariant director() const { return m_control->metaData(QtMultimedia::Director); }
- QVariant leadPerformer() const { return m_control->metaData(QtMultimedia::LeadPerformer); }
- QVariant writer() const { return m_control->metaData(QtMultimedia::Writer); }
+ return m_control->metaData(QtMultimedia::MetaData::PixelAspectRatio); }
+ QVariant videoFrameRate() const { return m_control->metaData(QtMultimedia::MetaData::VideoFrameRate); }
+ QVariant videoBitRate() const { return m_control->metaData(QtMultimedia::MetaData::VideoBitRate); }
+ QVariant videoCodec() const { return m_control->metaData(QtMultimedia::MetaData::VideoCodec); }
+ QVariant posterUrl() const { return m_control->metaData(QtMultimedia::MetaData::PosterUrl); }
+ QVariant chapterNumber() const { return m_control->metaData(QtMultimedia::MetaData::ChapterNumber); }
+ QVariant director() const { return m_control->metaData(QtMultimedia::MetaData::Director); }
+ QVariant leadPerformer() const { return m_control->metaData(QtMultimedia::MetaData::LeadPerformer); }
+ QVariant writer() const { return m_control->metaData(QtMultimedia::MetaData::Writer); }
Q_SIGNALS:
void metaDataChanged();