TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicabstractdownloadimagerequest.cpp
Go to the documentation of this file.
3 #include "musictopareawidget.h"
4 
5 MusicAbstractDownloadImageRequest::MusicAbstractDownloadImageRequest(const QString &name, const QString &path, QObject *parent)
6  : MusicAbstractNetwork(parent),
7  m_remainCount(0),
8  m_index(0),
9  m_counter(0),
10  m_name(name),
11  m_path(path)
12 {
13 
14 }
15 
17 {
19  deleteLater();
20 }
21 
23 {
25  if(++m_index >= m_counter)
26  {
27  G_BACKGROUND_PTR->setArtistName(m_name);
29  deleteAll();
30  }
31 }
virtual void deleteAll()
#define G_BACKGROUND_PTR
virtual void downLoadFinished()
const char * name
Definition: http_parser.c:458
The class of the abstract network.
MusicAbstractDownloadImageRequest(const QString &name, const QString &path, QObject *parent=nullptr)
static MusicTopAreaWidget * instance()