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 Member Functions | Protected Slots | Protected Member Functions | List of all members
QSyncDataInterface Class Referenceabstract

The class of the sync cloud data interface. More...

#include <qsyncdatainterface.h>

+ Inheritance diagram for QSyncDataInterface:

Public Member Functions

 QSyncDataInterface (QNetworkAccessManager *networkManager, QObject *parent=nullptr)
 

Protected Slots

virtual void receiveDataFromServer ()=0
 
void replyError (QNetworkReply::NetworkError error)
 

Protected Member Functions

QString pathEncode (const QString &data) const
 
QString pathDecode (const QString &data) const
 
 QSyncDataInterface (QSyncDataInterfacePrivate &pvt, QNetworkAccessManager *networkManager, QObject *parent=nullptr)
 

Detailed Description

The class of the sync cloud data interface.

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

Definition at line 33 of file qsyncdatainterface.h.

Constructor & Destructor Documentation

QSyncDataInterface::QSyncDataInterface ( QNetworkAccessManager *  networkManager,
QObject *  parent = nullptr 
)
explicit

Object constructor.

Definition at line 4 of file qsyncdatainterface.cpp.

QSyncDataInterface::QSyncDataInterface ( QSyncDataInterfacePrivate pvt,
QNetworkAccessManager *  networkManager,
QObject *  parent = nullptr 
)
protected

Object constructor.

Definition at line 10 of file qsyncdatainterface.cpp.

References TTK_D, and TTK_INIT_PRIVATE_D.

Member Function Documentation

QString QSyncDataInterface::pathDecode ( const QString &  data) const
protected

Pretty decode the data into url.

Definition at line 32 of file qsyncdatainterface.cpp.

QString QSyncDataInterface::pathEncode ( const QString &  data) const
protected

Pretty encode the data into url.

Definition at line 23 of file qsyncdatainterface.cpp.

Referenced by QSyncDownloadData::downloadUrl().

virtual void QSyncDataInterface::receiveDataFromServer ( )
protectedpure virtualslot

Receive data from server finshed. Subclass should implement this function.

void QSyncDataInterface::replyError ( QNetworkReply::NetworkError  error)
protectedslot

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