equal
deleted
inserted
replaced
42 #ifndef QT7PLAYERMETADATACONTROL_H |
42 #ifndef QT7PLAYERMETADATACONTROL_H |
43 #define QT7PLAYERMETADATACONTROL_H |
43 #define QT7PLAYERMETADATACONTROL_H |
44 |
44 |
45 #include <qmetadatacontrol.h> |
45 #include <qmetadatacontrol.h> |
46 |
46 |
47 QTM_BEGIN_NAMESPACE |
47 QT_BEGIN_NAMESPACE |
48 |
48 |
49 class QT7PlayerSession; |
49 class QT7PlayerSession; |
50 |
50 |
51 class QT7PlayerMetaDataControl : public QMetaDataControl |
51 class QT7PlayerMetaDataControl : public QMetaDataControl |
52 { |
52 { |
56 virtual ~QT7PlayerMetaDataControl(); |
56 virtual ~QT7PlayerMetaDataControl(); |
57 |
57 |
58 bool isMetaDataAvailable() const; |
58 bool isMetaDataAvailable() const; |
59 bool isWritable() const; |
59 bool isWritable() const; |
60 |
60 |
61 QVariant metaData(QtMedia::MetaData key) const; |
61 QVariant metaData(QtMediaServices::MetaData key) const; |
62 void setMetaData(QtMedia::MetaData key, const QVariant &value); |
62 void setMetaData(QtMediaServices::MetaData key, const QVariant &value); |
63 QList<QtMedia::MetaData> availableMetaData() const; |
63 QList<QtMediaServices::MetaData> availableMetaData() const; |
64 |
64 |
65 QVariant extendedMetaData(const QString &key) const ; |
65 QVariant extendedMetaData(const QString &key) const ; |
66 void setExtendedMetaData(const QString &key, const QVariant &value); |
66 void setExtendedMetaData(const QString &key, const QVariant &value); |
67 QStringList availableExtendedMetaData() const; |
67 QStringList availableExtendedMetaData() const; |
68 |
68 |
69 private slots: |
69 private slots: |
70 void updateTags(); |
70 void updateTags(); |
71 |
71 |
72 private: |
72 private: |
73 QT7PlayerSession *m_session; |
73 QT7PlayerSession *m_session; |
74 QMap<QtMedia::MetaData, QVariant> m_tags; |
74 QMap<QtMediaServices::MetaData, QVariant> m_tags; |
75 }; |
75 }; |
76 |
76 |
77 QTM_END_NAMESPACE |
77 QT_END_NAMESPACE |
78 |
78 |
79 #endif |
79 #endif |