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 songs manager thread. More...
#include <musicsongsmanagerthread.h>
Signals | |
void | searchFilePathChanged (const QStringList &name) |
Public Member Functions | |
MusicSongsManagerThread (QObject *parent=nullptr) | |
void | setFindFilePath (const QString &path) |
void | setFindFilePath (const QStringList &path) |
![]() | |
TTKAbstractThread (QObject *parent=nullptr) | |
Private Member Functions | |
virtual void | run () overridefinal |
Private Attributes | |
QStringList | m_path |
Additional Inherited Members | |
![]() | |
void | start () |
void | stop () |
![]() | |
bool | m_running |
The class of the songs manager thread.
Definition at line 27 of file musicsongsmanagerthread.h.
|
explicit |
Object constructor.
Definition at line 5 of file musicsongsmanagerthread.cpp.
|
finaloverrideprivatevirtual |
Thread run now.
The name and path search ended when sending the corresponding
Reimplemented from TTKAbstractThread.
Definition at line 21 of file musicsongsmanagerthread.cpp.
References TTK::File::fileListByPath(), m_path, TTKAbstractThread::m_running, qAsConst, searchFilePathChanged(), and MusicFormats::supportMusicInputFilterFormats().
|
signal |
Send the searched file or path.
Referenced by run().
void MusicSongsManagerThread::setFindFilePath | ( | const QString & | path | ) |
Set find file path by given path.
Definition at line 11 of file musicsongsmanagerthread.cpp.
Referenced by MusicMobileSongsManagerWidget::findExtraDevicePath().
void MusicSongsManagerThread::setFindFilePath | ( | const QStringList & | path | ) |
Set find file path by given path list.
Definition at line 16 of file musicsongsmanagerthread.cpp.
References m_path.
|
private |
Definition at line 58 of file musicsongsmanagerthread.h.
Referenced by run(), and setFindFilePath().