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
MusicDownloadBatchTableItem Class Reference

The class of the download batch table item. More...

#include <musicdownloadbatchwidget.h>

+ Inheritance diagram for MusicDownloadBatchTableItem:

Public Slots

void currentQualityChanged (int index)
 
void downloadFinished ()
 

Public Member Functions

 MusicDownloadBatchTableItem (QWidget *parent=nullptr)
 
 ~MusicDownloadBatchTableItem ()
 
void addCellItem (MusicAbstractQueryRequest *request, const TTK::MusicSongInformation &info)
 
void startToRequest ()
 
void setCurrentQuality (int index)
 

Private Member Functions

int currentBitrate (int index)
 
void startToRequestMusic ()
 
void startToRequestMovie ()
 

Private Attributes

QComboBox * m_qulity
 
TTK::MusicSongInformation m_songInfo
 
QLabel * m_songName
 
QLabel * m_singer
 
QLabel * m_information
 
QLabel * m_status
 
MusicAbstractQueryRequestm_networkRequest
 
MusicAbstractQueryRequest::QueryType m_queryType
 

Detailed Description

The class of the download batch table item.

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

Definition at line 32 of file musicdownloadbatchwidget.h.

Constructor & Destructor Documentation

MusicDownloadBatchTableItem::MusicDownloadBatchTableItem ( QWidget *  parent = nullptr)
explicit
MusicDownloadBatchTableItem::~MusicDownloadBatchTableItem ( )

Object destructor.

Definition at line 28 of file musicdownloadbatchwidget.cpp.

References m_information, m_qulity, m_singer, m_songName, and m_status.

Member Function Documentation

void MusicDownloadBatchTableItem::addCellItem ( MusicAbstractQueryRequest request,
const TTK::MusicSongInformation info 
)
int MusicDownloadBatchTableItem::currentBitrate ( int  index)
private
void MusicDownloadBatchTableItem::currentQualityChanged ( int  index)
slot
void MusicDownloadBatchTableItem::downloadFinished ( )
slot

Data download is finished.

Definition at line 94 of file musicdownloadbatchwidget.cpp.

References m_status.

void MusicDownloadBatchTableItem::setCurrentQuality ( int  index)

Set current quality by index.

Definition at line 72 of file musicdownloadbatchwidget.cpp.

References m_qulity.

void MusicDownloadBatchTableItem::startToRequest ( )
void MusicDownloadBatchTableItem::startToRequestMovie ( )
private
void MusicDownloadBatchTableItem::startToRequestMusic ( )
private

Member Data Documentation

QLabel* MusicDownloadBatchTableItem::m_information
private
MusicAbstractQueryRequest* MusicDownloadBatchTableItem::m_networkRequest
private
MusicAbstractQueryRequest::QueryType MusicDownloadBatchTableItem::m_queryType
private
QComboBox* MusicDownloadBatchTableItem::m_qulity
private
QLabel * MusicDownloadBatchTableItem::m_singer
private
TTK::MusicSongInformation MusicDownloadBatchTableItem::m_songInfo
private
QLabel* MusicDownloadBatchTableItem::m_songName
private
QLabel * MusicDownloadBatchTableItem::m_status
private

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