TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Private Slots | Private Attributes | List of all members
MusicKWCoverSourceRequest Class Reference

The class of the kuwo cover source data download request. More...

#include <musickwcoverrequest.h>

+ Inheritance diagram for MusicKWCoverSourceRequest:

Public Member Functions

 MusicKWCoverSourceRequest (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)
 

Private Attributes

bool m_decodeUrl
 

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
 

Detailed Description

The class of the kuwo cover source data download request.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 28 of file musickwcoverrequest.h.

Constructor & Destructor Documentation

MusicKWCoverSourceRequest::MusicKWCoverSourceRequest ( QObject *  parent = nullptr)
explicit

Object constructor.

Definition at line 5 of file musickwcoverrequest.cpp.

Member Function Documentation

void MusicKWCoverSourceRequest::downLoadFinished ( )
finaloverrideprivatevirtualslot

Download data from net finished.

Definition at line 27 of file musickwcoverrequest.cpp.

References TTKAbstractNetwork::downLoadFinished().

Referenced by startToRequest().

void MusicKWCoverSourceRequest::downLoadFinished ( const QByteArray &  bytes)
privateslot
void MusicKWCoverSourceRequest::startToRequest ( const QString &  url)
finaloverridevirtual

Member Data Documentation

bool MusicKWCoverSourceRequest::m_decodeUrl
private

Definition at line 54 of file musickwcoverrequest.h.

Referenced by downLoadFinished(), and startToRequest().


The documentation for this class was generated from the following files: