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 Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MusicDownloadBackgroundRequest Class Reference

The class of the download art background image manager request. More...

#include <musicdownloadbackgroundrequest.h>

+ Inheritance diagram for MusicDownloadBackgroundRequest:

Public Slots

void downLoadFinished (const QString &bytes)
 

Public Member Functions

 MusicDownloadBackgroundRequest (const QString &name, const QString &path, QObject *parent=nullptr)
 
void startToRequest ()
 

Private Member Functions

void findAllPlugins ()
 

Private Attributes

int m_findCount
 
int m_pluginIndex
 
QString m_name
 
QString m_path
 

Detailed Description

The class of the download art background image manager request.

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

Definition at line 27 of file musicdownloadbackgroundrequest.h.

Constructor & Destructor Documentation

MusicDownloadBackgroundRequest::MusicDownloadBackgroundRequest ( const QString &  name,
const QString &  path,
QObject *  parent = nullptr 
)

Object constructor provide artist name and save local path.

Definition at line 7 of file musicdownloadbackgroundrequest.cpp.

Member Function Documentation

void MusicDownloadBackgroundRequest::downLoadFinished ( const QString &  bytes)
slot

Download data from net finished.

Definition at line 24 of file musicdownloadbackgroundrequest.cpp.

References findAllPlugins(), m_findCount, and MAX_IMAGE_COUNT.

Referenced by findAllPlugins().

void MusicDownloadBackgroundRequest::findAllPlugins ( )
private
void MusicDownloadBackgroundRequest::startToRequest ( )

Start to download background data.

Definition at line 17 of file musicdownloadbackgroundrequest.cpp.

References findAllPlugins(), m_findCount, and m_pluginIndex.

Member Data Documentation

int MusicDownloadBackgroundRequest::m_findCount
private
QString MusicDownloadBackgroundRequest::m_name
private

Definition at line 57 of file musicdownloadbackgroundrequest.h.

Referenced by findAllPlugins().

QString MusicDownloadBackgroundRequest::m_path
private

Definition at line 57 of file musicdownloadbackgroundrequest.h.

Referenced by findAllPlugins().

int MusicDownloadBackgroundRequest::m_pluginIndex
private

Definition at line 56 of file musicdownloadbackgroundrequest.h.

Referenced by findAllPlugins(), and startToRequest().


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