TTKMusicPlayer  4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Signals | Public Member Functions | Protected Attributes | List of all members
MusicCommentsRequest Class Reference

The class of the query song comments data from net. More...

#include <musiccommentsrequest.h>

+ Inheritance diagram for MusicCommentsRequest:

Signals

void createCommentItem (const MusicResultDataItem &item)
 
- Signals inherited from TTKAbstractNetwork
void downloadDataChanged (const QString &bytes)
 
void downloadRawDataChanged (const QByteArray &bytes)
 

Public Member Functions

 MusicCommentsRequest (QObject *parent=nullptr)
 
virtual void startToSearch (const QString &value)
 
- Public Member Functions inherited from MusicPageQueryRequest
 MusicPageQueryRequest (QObject *parent=nullptr)
 
virtual void startToPage (int offset)
 
int pageTotalSize () const noexcept
 
int pageSize () const noexcept
 
void setPageSize (int page) noexcept
 
int totalSize () const noexcept
 
void setTotalSize (int size) noexcept
 
int pageIndex () const noexcept
 
void setPageIndex (int index) noexcept
 
bool pageValid () const noexcept
 
- Public Member Functions inherited from MusicAbstractNetwork
 MusicAbstractNetwork (QObject *parent=nullptr)
 
- Public Member Functions inherited from TTKAbstractNetwork
 TTKAbstractNetwork (QObject *parent=nullptr)
 
 ~TTKAbstractNetwork ()
 
virtual void deleteAll ()
 
void setHeader (const QString &key, const QVariant &value) noexcept
 
const QVariant header (const QString &key) const noexcept
 

Protected Attributes

QString m_id
 
- Protected Attributes inherited from MusicPageQueryRequest
int m_pageSize
 
int m_totalSize
 
int m_pageIndex
 
- Protected Attributes inherited from TTKAbstractNetwork
QVariantMap m_rawData
 
volatile bool m_interrupt
 
volatile TTK::NetworkCode m_stateCode
 
QNetworkReply * m_reply
 
QNetworkAccessManager m_manager
 

Additional Inherited Members

- Public Slots inherited from MusicAbstractNetwork
virtual void replyError (QNetworkReply::NetworkError error) override
 
virtual void sslErrors (QNetworkReply *reply, const QList< QSslError > &errors) override
 
- Public Slots inherited from TTKAbstractNetwork
virtual void downloadFinished ()
 
virtual void replyError (QNetworkReply::NetworkError error)
 
virtual void sslErrors (QNetworkReply *reply, const QList< QSslError > &errors)
 
void sslErrorsString (QNetworkReply *reply, const QList< QSslError > &errors)
 

Detailed Description

The class of the query song comments data from net.

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

Definition at line 27 of file musiccommentsrequest.h.

Constructor & Destructor Documentation

MusicCommentsRequest::MusicCommentsRequest ( QObject *  parent = nullptr)
explicit

Object constructor.

Definition at line 3 of file musiccommentsrequest.cpp.

Member Function Documentation

void MusicCommentsRequest::createCommentItem ( const MusicResultDataItem item)
signal
void MusicCommentsRequest::startToSearch ( const QString &  value)
virtual

Member Data Documentation

QString MusicCommentsRequest::m_id
protected

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