![]() |
Qt 6.x
The Qt SDK
|
#include <qqnxmediametadata_p.h>
Public Member Functions | |
QQnxMediaMetaData () | |
bool | update (const strm_dict_t *dict) |
void | clear () |
qlonglong | duration () const |
int | height () const |
int | width () const |
bool | hasVideo () const |
bool | hasAudio () const |
bool | isSeekable () const |
QString | title () const |
QString | artist () const |
QString | comment () const |
QString | genre () const |
int | year () const |
QString | mediaType () const |
int | audioBitRate () const |
int | sampleRate () const |
QString | album () const |
int | track () const |
QSize | resolution () const |
Definition at line 25 of file qqnxmediametadata_p.h.
QT_BEGIN_NAMESPACE QQnxMediaMetaData::QQnxMediaMetaData | ( | ) |
Definition at line 27 of file qqnxmediametadata.cpp.
References clear().
QString QQnxMediaMetaData::album | ( | ) | const |
Definition at line 247 of file qqnxmediametadata.cpp.
QString QQnxMediaMetaData::artist | ( | ) | const |
Definition at line 207 of file qqnxmediametadata.cpp.
int QQnxMediaMetaData::audioBitRate | ( | ) | const |
Definition at line 237 of file qqnxmediametadata.cpp.
void QQnxMediaMetaData::clear | ( | ) |
Definition at line 146 of file qqnxmediametadata.cpp.
References update().
Referenced by QQnxMediaMetaData(), and update().
QString QQnxMediaMetaData::comment | ( | ) | const |
Definition at line 212 of file qqnxmediametadata.cpp.
qlonglong QQnxMediaMetaData::duration | ( | ) | const |
Definition at line 154 of file qqnxmediametadata.cpp.
Referenced by QQnxMediaPlayer::availablePlaybackRanges(), and QQnxMediaPlayer::duration().
QString QQnxMediaMetaData::genre | ( | ) | const |
Definition at line 217 of file qqnxmediametadata.cpp.
bool QQnxMediaMetaData::hasAudio | ( | ) | const |
Definition at line 188 of file qqnxmediametadata.cpp.
References mediaTypeAudioFlag.
Referenced by QQnxMediaPlayer::isAudioAvailable(), and mediaType().
bool QQnxMediaMetaData::hasVideo | ( | ) | const |
Definition at line 179 of file qqnxmediametadata.cpp.
References mediaTypeVideoFlag.
Referenced by QQnxMediaPlayer::isVideoAvailable(), and mediaType().
int QQnxMediaMetaData::height | ( | ) | const |
Definition at line 169 of file qqnxmediametadata.cpp.
Referenced by resolution().
bool QQnxMediaMetaData::isSeekable | ( | ) | const |
Definition at line 202 of file qqnxmediametadata.cpp.
Referenced by QQnxMediaPlayer::isSeekable().
QString QQnxMediaMetaData::mediaType | ( | ) | const |
Definition at line 227 of file qqnxmediametadata.cpp.
References hasAudio(), and hasVideo().
QSize QQnxMediaMetaData::resolution | ( | ) | const |
Definition at line 257 of file qqnxmediametadata.cpp.
References height(), and width().
int QQnxMediaMetaData::sampleRate | ( | ) | const |
Definition at line 242 of file qqnxmediametadata.cpp.
QString QQnxMediaMetaData::title | ( | ) | const |
Definition at line 197 of file qqnxmediametadata.cpp.
int QQnxMediaMetaData::track | ( | ) | const |
Definition at line 252 of file qqnxmediametadata.cpp.
bool QQnxMediaMetaData::update | ( | const strm_dict_t * | dict | ) |
Definition at line 58 of file qqnxmediametadata.cpp.
References albumKey, artistKey, at, bitRateKey, clear(), commentKey, durationKey, QString::fromLatin1(), genreKey, heightKey, mediaTypeKey, mmr_metadata_split(), pixelHeightKey, pixelWidthKey, sampleKey, seekableKey, strm_string_getx(), titleKey, QByteArray::toFloat(), QByteArray::toInt(), QByteArray::toLongLong(), trackBitRateKey, trackHeightKey, trackKey, trackPixelHeightKey, trackPixelWidthKey, trackSampleKey, trackWidthKey, widthKey, and yearKey.
Referenced by clear().
int QQnxMediaMetaData::width | ( | ) | const |
Definition at line 174 of file qqnxmediametadata.cpp.
Referenced by resolution().
int QQnxMediaMetaData::year | ( | ) | const |
Definition at line 222 of file qqnxmediametadata.cpp.