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

The class of the song comment item. More...

#include <musiccommentswidget.h>

+ Inheritance diagram for MusicCommentsItem:

Public Member Functions

 MusicCommentsItem (QWidget *parent=nullptr)
 
 ~MusicCommentsItem ()
 
void addCellItem (const MusicResultDataItem &item)
 

Private Slots

void downLoadFinished (const QByteArray &bytes)
 

Private Attributes

QTextEdit * m_userCommit
 
QLabel * m_userName
 
QLabel * m_timerLabel
 
QLabel * m_iconLabel
 
QLabel * m_starLabel
 

Detailed Description

The class of the song comment item.

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

Definition at line 31 of file musiccommentswidget.h.

Constructor & Destructor Documentation

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

Object destructor.

Definition at line 114 of file musiccommentswidget.cpp.

References m_iconLabel, m_starLabel, m_timerLabel, m_userCommit, and m_userName.

Member Function Documentation

void MusicCommentsItem::addCellItem ( const MusicResultDataItem item)
void MusicCommentsItem::downLoadFinished ( const QByteArray &  bytes)
privateslot

Send recieved data from net.

Definition at line 137 of file musiccommentswidget.cpp.

References m_iconLabel, and TTK_ERROR_STREAM.

Referenced by addCellItem().

Member Data Documentation

QLabel* MusicCommentsItem::m_iconLabel
private

Definition at line 59 of file musiccommentswidget.h.

Referenced by downLoadFinished(), MusicCommentsItem(), and ~MusicCommentsItem().

QLabel * MusicCommentsItem::m_starLabel
private

Definition at line 59 of file musiccommentswidget.h.

Referenced by addCellItem(), MusicCommentsItem(), and ~MusicCommentsItem().

QLabel * MusicCommentsItem::m_timerLabel
private

Definition at line 58 of file musiccommentswidget.h.

Referenced by addCellItem(), MusicCommentsItem(), and ~MusicCommentsItem().

QTextEdit* MusicCommentsItem::m_userCommit
private

Definition at line 57 of file musiccommentswidget.h.

Referenced by addCellItem(), MusicCommentsItem(), and ~MusicCommentsItem().

QLabel* MusicCommentsItem::m_userName
private

Definition at line 58 of file musiccommentswidget.h.

Referenced by addCellItem(), MusicCommentsItem(), and ~MusicCommentsItem().


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