qtmobility/src/multimedia/qmetadatacontrol.cpp
changeset 5 453da2cfceef
parent 4 90517678cc4f
child 11 06b8e2af4411
equal deleted inserted replaced
4:90517678cc4f 5:453da2cfceef
    40 ****************************************************************************/
    40 ****************************************************************************/
    41 
    41 
    42 #include "qmediacontrol_p.h"
    42 #include "qmediacontrol_p.h"
    43 #include "qmetadatacontrol.h"
    43 #include "qmetadatacontrol.h"
    44 
    44 
    45 QTM_BEGIN_NAMESPACE
    45 QT_BEGIN_NAMESPACE
    46 
    46 
    47 
    47 
    48 /*!
    48 /*!
    49     \class QMetaDataControl
    49     \class QMetaDataControl
    50     \ingroup multimedia-serv
    50     \ingroup multimedia-serv
    55 
    55 
    56     If a QMediaService can provide read or write access to the meta-data of
    56     If a QMediaService can provide read or write access to the meta-data of
    57     its current media it will implement QMetaDataControl.  This control
    57     its current media it will implement QMetaDataControl.  This control
    58     provides functions for both retrieving and setting meta-data values.
    58     provides functions for both retrieving and setting meta-data values.
    59     Meta-data may be addressed by the well defined keys in the
    59     Meta-data may be addressed by the well defined keys in the
    60     QtMedia::MetaData enumeration using the metaData() functions, or by
    60     QtMediaServices::MetaData enumeration using the metaData() functions, or by
    61     string keys using the extendedMetaData() functions.
    61     string keys using the extendedMetaData() functions.
    62 
    62 
    63     The functionality provided by this control is exposed to application
    63     The functionality provided by this control is exposed to application
    64     code by the meta-data members of QMediaObject, and so meta-data access
    64     code by the meta-data members of QMediaObject, and so meta-data access
    65     is potentially available in any of the media object classes.  Any media
    65     is potentially available in any of the media object classes.  Any media
   114 
   114 
   115     Returns true if the meta-data is writable and false otherwise.
   115     Returns true if the meta-data is writable and false otherwise.
   116 */
   116 */
   117 
   117 
   118 /*!
   118 /*!
   119     \fn QVariant QMetaDataControl::metaData(QtMedia::MetaData key) const
   119     \fn QVariant QMetaDataControl::metaData(QtMediaServices::MetaData key) const
   120 
   120 
   121     Returns the meta-data for the given \a key.
   121     Returns the meta-data for the given \a key.
   122 */
   122 */
   123 
   123 
   124 /*!
   124 /*!
   125     \fn void QMetaDataControl::setMetaData(QtMedia::MetaData key, const QVariant &value)
   125     \fn void QMetaDataControl::setMetaData(QtMediaServices::MetaData key, const QVariant &value)
   126 
   126 
   127     Sets the \a value of the meta-data element with the given \a key.
   127     Sets the \a value of the meta-data element with the given \a key.
   128 */
   128 */
   129 
   129 
   130 /*!
   130 /*!
   177     Signal a change in the writable status of meta-data, \a writable will be
   177     Signal a change in the writable status of meta-data, \a writable will be
   178     true if meta-data elements can be added or adjusted.
   178     true if meta-data elements can be added or adjusted.
   179 */
   179 */
   180 
   180 
   181 #include "moc_qmetadatacontrol.cpp"
   181 #include "moc_qmetadatacontrol.cpp"
   182 QTM_END_NAMESPACE
   182 QT_END_NAMESPACE
   183 
   183