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 | Private Member Functions | Private Attributes | List of all members
MusicTranslationRequest Class Reference

The class of the translation words manager request. More...

#include <musictranslationrequest.h>

+ Inheritance diagram for MusicTranslationRequest:

Public Slots

void downLoadDataFinished (const QString &bytes)
 
- 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

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

Private Member Functions

void findAllPlugins ()
 

Private Attributes

int m_pluginIndex
 

Additional Inherited Members

- Signals inherited from TTKAbstractNetwork
void downLoadDataChanged (const QString &bytes)
 
void downLoadRawDataChanged (const QByteArray &bytes)
 
- 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 translation words manager request.

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

Definition at line 27 of file musictranslationrequest.h.

Constructor & Destructor Documentation

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

Object constructor.

Definition at line 7 of file musictranslationrequest.cpp.

Member Function Documentation

void MusicTranslationRequest::downLoadDataFinished ( const QString &  bytes)
slot

Download data from net finished.

Definition at line 20 of file musictranslationrequest.cpp.

References TTKAbstractNetwork::downLoadDataChanged(), and findAllPlugins().

Referenced by findAllPlugins().

void MusicTranslationRequest::findAllPlugins ( )
private
void MusicTranslationRequest::startToRequest ( )

Start to download translation data.

Definition at line 14 of file musictranslationrequest.cpp.

References findAllPlugins(), and m_pluginIndex.

Referenced by MusicLrcContainerForInterior::translatedLrcData().

Member Data Documentation

int MusicTranslationRequest::m_pluginIndex
private

Definition at line 55 of file musictranslationrequest.h.

Referenced by findAllPlugins(), and startToRequest().


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