TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the download bing daily skin background. More...
#include <musicdownloadbingskinrequest.h>
Public Slots | |
virtual void | downLoadFinished (const QByteArray &bytes) overridefinal |
![]() | |
virtual void | downLoadFinished (const QByteArray &bytes)=0 |
Public Member Functions | |
MusicDownloadBingSkinRequest (QObject *parent=nullptr) | |
virtual void | startToRequest () overridefinal |
![]() | |
MusicAbstractDownloadSkinRequest (QObject *parent=nullptr) | |
virtual void | startToRequest (const QString &id) |
Additional Inherited Members | |
![]() | |
void | downLoadDataChanged (const MusicSkinRemoteGroupList &bytes) |
The class of the download bing daily skin background.
Definition at line 27 of file musicdownloadbingskinrequest.h.
|
explicit |
Object constructor.
Definition at line 7 of file musicdownloadbingskinrequest.cpp.
|
finaloverridevirtualslot |
Download data from net finished.
Definition at line 20 of file musicdownloadbingskinrequest.cpp.
References MusicAbstractDownloadSkinRequest::downLoadDataChanged(), MusicSkinRemoteItem::isValid(), MusicSkinRemoteGroup::isValid(), MusicSkinRemoteGroup::m_group, MusicSkinRemoteGroup::m_id, MusicSkinRemoteItem::m_index, MusicSkinRemoteGroup::m_items, MusicSkinRemoteItem::m_name, MusicSkinRemoteItem::m_url, MusicSkinRemoteItem::m_useCount, TTK::Algorithm::mdII(), QJson::Parser::parse(), PREFIX_URL, qAsConst, SKIN_BING_DIR, TTK::toString(), and TTK_DEFAULT_STR.
Referenced by startToRequest().
|
finaloverridevirtual |
Start to download skin data.
Reimplemented from MusicAbstractDownloadSkinRequest.
Definition at line 13 of file musicdownloadbingskinrequest.cpp.
References downLoadFinished(), TTK::Algorithm::mdII(), QUERY_URL, and MusicDataSourceRequest::startToRequest().