TTKMusicPlayer
3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the cover source data download request. More...
#include <musiccoversourcerequest.h>
Public Member Functions | |
MusicCoverSourceRequest (QObject *parent=nullptr) | |
virtual void | startToRequest (const QString &url) overridefinal |
Public Member Functions inherited from MusicCoverRequest | |
MusicCoverRequest (QObject *parent=nullptr) | |
Public Member Functions inherited from MusicAbstractNetwork | |
MusicAbstractNetwork (QObject *parent=nullptr) | |
Public Member Functions inherited from TTKAbstractNetwork | |
TTKAbstractNetwork (QObject *parent=nullptr) | |
~TTKAbstractNetwork () | |
virtual void | deleteAll () |
void | setHeader (const QString &key, const QVariant &value) |
const QVariant | header (const QString &key) const |
Private Slots | |
virtual void | downLoadFinished () overridefinal |
void | downLoadFinished (const QByteArray &bytes) |
Additional Inherited Members | |
Public Slots inherited from MusicAbstractNetwork | |
virtual void | replyError (QNetworkReply::NetworkError error) override |
virtual void | sslErrors (QNetworkReply *reply, const QList< QSslError > &errors) override |
Public Slots inherited from TTKAbstractNetwork | |
virtual void | downLoadFinished () |
virtual void | replyError (QNetworkReply::NetworkError error) |
virtual void | sslErrors (QNetworkReply *reply, const QList< QSslError > &errors) |
void | sslErrorsString (QNetworkReply *reply, const QList< QSslError > &errors) |
Signals inherited from TTKAbstractNetwork | |
void | downLoadDataChanged (const QString &bytes) |
void | downLoadRawDataChanged (const QByteArray &bytes) |
Protected Attributes inherited from TTKAbstractNetwork | |
QVariantMap | m_rawData |
volatile bool | m_interrupt |
volatile TTK::NetworkCode | m_stateCode |
QNetworkReply * | m_reply |
QNetworkAccessManager | m_manager |
The class of the cover source data download request.
Definition at line 27 of file musiccoversourcerequest.h.
|
explicit |
Object constructor.
Definition at line 4 of file musiccoversourcerequest.cpp.
|
finaloverrideprivatevirtualslot |
Download data from net finished.
Definition at line 17 of file musiccoversourcerequest.cpp.
References TTKAbstractNetwork::downLoadFinished().
Referenced by startToRequest().
|
privateslot |
Download data from net finished.
Definition at line 22 of file musiccoversourcerequest.cpp.
References TTKAbstractNetwork::downLoadFinished(), and TTKAbstractNetwork::downLoadRawDataChanged().
|
finaloverridevirtual |
Start to download data.
Implements MusicCoverRequest.
Definition at line 10 of file musiccoversourcerequest.cpp.
References downLoadFinished(), TTKAbstractNetwork::downLoadRawDataChanged(), and MusicDataSourceRequest::startToRequest().