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 sync cloud data interface. More...
#include <qsyncdatainterface.h>
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) | |
The class of the sync cloud data interface.
Definition at line 33 of file qsyncdatainterface.h.
|
explicit |
Object constructor.
Definition at line 4 of file qsyncdatainterface.cpp.
|
protected |
Object constructor.
Definition at line 10 of file qsyncdatainterface.cpp.
References TTK_D, and TTK_INIT_PRIVATE_D.
|
protected |
Pretty decode the data into url.
Definition at line 32 of file qsyncdatainterface.cpp.
|
protected |
Pretty encode the data into url.
Definition at line 23 of file qsyncdatainterface.cpp.
Referenced by QSyncDownloadData::downloadUrl().
|
protectedpure virtualslot |
Receive data from server finshed. Subclass should implement this function.
|
protectedslot |
Get handle error.
Definition at line 18 of file qsyncdatainterface.cpp.
References TTK_ERROR_STREAM.
Referenced by QSyncDeleteData::request(), QSyncUploadData::request(), QSyncListData::request(), and QSyncDownloadData::request().