dtkmultimedia
DTK Multimedia module
载入中...
搜索中...
未找到
Dtk::Multimedia::DMediaMetaData类 参考

Public 类型

enum  Key {
  Title , Author , Comment , Description ,
  Genre , Date , Language , Publisher ,
  Copyright , Url , Duration , MediaType ,
  FileFormat , AudioBitRate , AudioCodec , VideoBitRate ,
  VideoCodec , VideoFrameRate , AlbumTitle , AlbumArtist ,
  ContributingArtist , TrackNumber , Composer , LeadPerformer ,
  ThumbnailImage , CoverArtImage , Orientation , Resolution
}
 

Public 成员函数

Q_INVOKABLE QVariant value (Key k) const
 
Q_INVOKABLE void insert (Key k, const QVariant &value)
 
Q_INVOKABLE void remove (Key k)
 
Q_INVOKABLE QList< Key > keys () const
 
QVariant & operator[] (Key k)
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE bool isEmpty () const
 
Q_INVOKABLE QString stringValue (Key k) const
 

静态 Public 成员函数

static Q_INVOKABLE QString metaDataKeyToString (Key k)
 

静态 Public 属性

static constexpr int NumMetaData = Resolution + 1
 

Protected 属性

QHash< Key, QVariant > data
 

友元

bool operator== (const DMediaMetaData &a, const DMediaMetaData &b)
 
bool operator!= (const DMediaMetaData &a, const DMediaMetaData &b)
 

该类的文档由以下文件生成: