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 song check tools rename thread. More...
#include <musicsongchecktoolsthread.h>
Signals | |
void | finished (const MusicSongCheckToolsRenameList &items) |
Public Member Functions | |
MusicSongCheckToolsRenameThread (QObject *parent=nullptr) | |
void | setMode (TTK::Mode mode) noexcept |
TTK::Mode | mode () const noexcept |
void | setItemList (const TTKIntList &items) noexcept |
void | setRenameSongs (MusicSongList *songs) noexcept |
![]() | |
TTKAbstractThread (QObject *parent=nullptr) | |
Private Member Functions | |
virtual void | run () overridefinal |
Private Attributes | |
TTKIntList | m_ids |
MusicSongList * | m_items |
TTK::Mode | m_operateMode |
MusicSongCheckToolsRenameList | m_datas |
Additional Inherited Members | |
![]() | |
void | start () |
void | stop () |
![]() | |
bool | m_running |
The class of the song check tools rename thread.
Definition at line 28 of file musicsongchecktoolsthread.h.
|
explicit |
Object constructor.
Definition at line 4 of file musicsongchecktoolsthread.cpp.
|
signal |
Rename check finished.
Referenced by run().
|
inlinenoexcept |
Get music song check tool mode.
Definition at line 45 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::renameCheckFinished().
|
finaloverrideprivatevirtual |
Thread run now.
Reimplemented from TTKAbstractThread.
Definition at line 17 of file musicsongchecktoolsthread.cpp.
References MusicSongMeta::artist(), TTK::Check, finished(), TTK::generateSongName(), m_datas, m_ids, m_items, m_operateMode, MusicSongCheckToolsRename::m_path, MusicSongCheckToolsRename::m_recommendName, TTKAbstractThread::m_running, qAsConst, MusicSongMeta::read(), MusicSongMeta::title(), and TTK_FILE_SUFFIX.
|
inlinenoexcept |
Set item list.
Definition at line 49 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::renameButtonCheckClicked().
|
inlinenoexcept |
Set music song check tool mode.
Definition at line 41 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::renameButtonCheckClicked(), and MusicSongCheckToolsWidget::renameReCheckButtonClicked().
|
noexcept |
Set find file path by given path.
Definition at line 12 of file musicsongchecktoolsthread.cpp.
Referenced by MusicSongCheckToolsWidget::renameReCheckButtonClicked().
|
private |
Definition at line 71 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 68 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 69 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 70 of file musicsongchecktoolsthread.h.
Referenced by run().