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 | Protected Attributes | List of all members
MusicSongSuggestRequest Class Reference

The class of the query suggest download data from net. More...

#include <musicsongsuggestrequest.h>

+ Inheritance diagram for MusicSongSuggestRequest:

Public Slots

virtual void downLoadFinished () overridefinal
 
- 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)
 

Public Member Functions

 MusicSongSuggestRequest (QObject *parent=nullptr)
 
virtual void startToSearch (const QString &value)
 
const MusicResultDataItemList & items () const
 
- Public Member Functions inherited from MusicPageQueryRequest
 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
 
- 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)
 
const QVariant header (const QString &key) const
 

Protected Attributes

MusicResultDataItemList m_items
 
- 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

- Signals inherited from TTKAbstractNetwork
void downLoadDataChanged (const QString &bytes)
 
void downLoadRawDataChanged (const QByteArray &bytes)
 

Detailed Description

The class of the query suggest download data from net.

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

Definition at line 27 of file musicsongsuggestrequest.h.

Constructor & Destructor Documentation

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

Object constructor.

Definition at line 6 of file musicsongsuggestrequest.cpp.

Member Function Documentation

void MusicSongSuggestRequest::downLoadFinished ( )
finaloverridevirtualslot
const MusicResultDataItemList& MusicSongSuggestRequest::items ( ) const
inline

Get suggest list items.

Definition at line 45 of file musicsongsuggestrequest.h.

Referenced by MusicSongSearchInteriorEdit::suggestDataChanged().

void MusicSongSuggestRequest::startToSearch ( const QString &  value)
virtual

Member Data Documentation

MusicResultDataItemList MusicSongSuggestRequest::m_items
protected

Definition at line 54 of file musicsongsuggestrequest.h.

Referenced by downLoadFinished().


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