TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the query song comments download data from net. More...
#include <musiccommentsrequest.h>
Signals | |
void | createCommentItem (const MusicResultDataItem &item) |
![]() | |
void | downLoadDataChanged (const QString &bytes) |
void | downLoadRawDataChanged (const QByteArray &bytes) |
Public Member Functions | |
MusicCommentsRequest (QObject *parent=nullptr) | |
virtual void | startToSearch (const QString &value) |
![]() | |
MusicPageQueryRequest (QObject *parent=nullptr) | |
virtual void | startToPage (int offset) |
int | pageTotalSize () const noexcept |
int | pageSize () const noexcept |
int | totalSize () const noexcept |
int | pageIndex () const noexcept |
bool | pageValid () const noexcept |
![]() | |
MusicAbstractNetwork (QObject *parent=nullptr) | |
![]() | |
TTKAbstractNetwork (QObject *parent=nullptr) | |
~TTKAbstractNetwork () | |
virtual void | deleteAll () |
void | setHeader (const QString &key, const QVariant &value) |
const QVariant | header (const QString &key) const |
Protected Attributes | |
QString | m_id |
![]() | |
int | m_pageSize |
int | m_totalSize |
int | m_pageIndex |
![]() | |
QVariantMap | m_rawData |
volatile bool | m_interrupt |
volatile TTK::NetworkCode | m_stateCode |
QNetworkReply * | m_reply |
QNetworkAccessManager | m_manager |
Additional Inherited Members | |
![]() | |
virtual void | replyError (QNetworkReply::NetworkError error) override |
virtual void | sslErrors (QNetworkReply *reply, const QList< QSslError > &errors) override |
![]() | |
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) |
The class of the query song comments download data from net.
Definition at line 27 of file musiccommentsrequest.h.
|
explicit |
Object constructor.
Definition at line 3 of file musiccommentsrequest.cpp.
|
signal |
Create the current song comment.
Referenced by MusicKGSongCommentsRequest::downLoadFinished(), MusicKWSongCommentsRequest::downLoadFinished(), MusicWYSongCommentsRequest::downLoadFinished(), MusicKWPlaylistCommentsRequest::downLoadFinished(), MusicKGPlaylistCommentsRequest::downLoadFinished(), and MusicWYPlaylistCommentsRequest::downLoadFinished().
|
virtual |
Start to search data by input data.
Reimplemented in MusicWYSongCommentsRequest, MusicKGSongCommentsRequest, and MusicKWSongCommentsRequest.
Definition at line 9 of file musiccommentsrequest.cpp.
References m_id, MusicPageQueryRequest::startToPage(), and TTK_INFO_STREAM.
Referenced by MusicCommentsWidget::setCurrentSongName(), MusicKWSongCommentsRequest::startToSearch(), MusicKGSongCommentsRequest::startToSearch(), and MusicWYSongCommentsRequest::startToSearch().
|
protected |
Definition at line 49 of file musiccommentsrequest.h.
Referenced by MusicKGSongCommentsRequest::startToPage(), MusicKWSongCommentsRequest::startToPage(), MusicWYSongCommentsRequest::startToPage(), MusicKGPlaylistCommentsRequest::startToPage(), MusicKWPlaylistCommentsRequest::startToPage(), MusicWYPlaylistCommentsRequest::startToPage(), startToSearch(), MusicKWSongCommentsRequest::startToSearch(), MusicKGSongCommentsRequest::startToSearch(), and MusicWYSongCommentsRequest::startToSearch().