|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the thread to test input url network. More...
#include <musicnetworktestthread.h>
Inheritance diagram for MusicNetworkTestThread:Signals | |
| void | networkConnectionTestChanged (bool state) |
Public Member Functions | |
| MusicNetworkTestThread (QObject *parent=nullptr) | |
| void | setUrl (const QString &url) noexcept |
Public Member Functions inherited from TTKAbstractThread | |
| TTKAbstractThread (QObject *parent=nullptr) | |
Private Member Functions | |
| virtual void | run () overridefinal |
Private Attributes | |
| QString | m_currentUrl |
Additional Inherited Members | |
Public Slots inherited from TTKAbstractThread | |
| void | start () |
| void | stop () |
Protected Attributes inherited from TTKAbstractThread | |
| bool | m_running |
The class of the thread to test input url network.
Definition at line 27 of file musicnetworktestthread.h.
|
explicit |
Object constructor.
Definition at line 7 of file musicnetworktestthread.cpp.
References TTK::initRandom().
|
signal |
Network connection test changed.
Referenced by run().
|
finaloverrideprivatevirtual |
Thread run now.
Reimplemented from TTKAbstractThread.
Definition at line 18 of file musicnetworktestthread.cpp.
References m_currentUrl, networkConnectionTestChanged(), TTK::random(), TTK::Core::sleep(), and TTK_DN_S2MS.
|
noexcept |
Set current test url.
Definition at line 13 of file musicnetworktestthread.cpp.
Referenced by MusicNetworkConnectionItem::setUrl().
|
private |
Definition at line 54 of file musicnetworktestthread.h.
Referenced by run().
1.8.8