TTKMusicPlayer  4.3.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 Member Functions | List of all members
ToolQTFM Class Reference

The class of the qingting fm radio tool. More...

#include <toolfm.h>

+ Inheritance diagram for ToolQTFM:

Public Member Functions

 ToolQTFM (QObject *parent=nullptr)
 
void startToRequest ()
 
- 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
 

Private Slots

virtual void downloadFinished () overridefinal
 

Private Member Functions

void startToListRequest (int id, MusicFMChannelList *channels)
 

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)
 
- Signals inherited from TTKAbstractNetwork
void downloadDataChanged (const QString &bytes)
 
void downloadRawDataChanged (const QByteArray &bytes)
 
- 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
 

Detailed Description

The class of the qingting fm radio tool.

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

Definition at line 28 of file toolfm.h.

Constructor & Destructor Documentation

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

Object constructor.

Definition at line 9 of file toolfm.cpp.

References MusicPageQueryRequest::m_pageSize.

Member Function Documentation

void ToolQTFM::downloadFinished ( )
finaloverrideprivatevirtualslot
void ToolQTFM::startToListRequest ( int  id,
MusicFMChannelList *  channels 
)
private
void ToolQTFM::startToRequest ( )

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