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 music network operator. More...
#include <musicnetworkoperator.h>
Signals | |
void | queryNetworkOperatorFinished (const QString &name) |
Public Member Functions | |
MusicNetworkOperator (QObject *parent=nullptr) | |
void | startToRequest () |
Private Slots | |
void | downLoadFinished (const QByteArray &bytes) |
The class of the music network operator.
Definition at line 27 of file musicnetworkoperator.h.
|
explicit |
Object constructor.
Definition at line 6 of file musicnetworkoperator.cpp.
|
privateslot |
Download data from net finished.
Definition at line 19 of file musicnetworkoperator.cpp.
References QJson::Parser::parse(), queryNetworkOperatorFinished(), and TTK_ERROR_STREAM.
Referenced by startToRequest().
|
signal |
Query network operator is finished.
Referenced by downLoadFinished().
void MusicNetworkOperator::startToRequest | ( | ) |
Start to download operator data.
Definition at line 12 of file musicnetworkoperator.cpp.
References downLoadFinished(), IP_CHECK_URL, TTK::Algorithm::mdII(), and MusicDataSourceRequest::startToRequest().
Referenced by MusicSettingWidget::testNetworkConnection().