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 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) |
TTK::Mode | mode () const |
void | setItemList (const TTKIntList &items) |
void | setRenameSongs (MusicSongList *songs) |
![]() | |
TTKAbstractThread (QObject *parent=nullptr) | |
Private Member Functions | |
virtual void | run () overridefinal |
Private Attributes | |
MusicSongList * | m_songItems |
TTKIntList | m_itemIDs |
MusicSongCheckToolsRenameList | m_datas |
TTK::Mode | m_operateMode |
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().
|
inline |
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_itemIDs, m_operateMode, MusicSongCheckToolsRename::m_path, MusicSongCheckToolsRename::m_recommendName, TTKAbstractThread::m_running, m_songItems, qAsConst, MusicSongMeta::read(), MusicSongMeta::title(), and TTK_FILE_SUFFIX.
|
inline |
Set item list.
Definition at line 49 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::renameButtonCheckClicked().
|
inline |
Set music song check tool mode.
Definition at line 41 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::renameButtonCheckClicked(), and MusicSongCheckToolsWidget::renameReCheckButtonClicked().
void MusicSongCheckToolsRenameThread::setRenameSongs | ( | MusicSongList * | songs | ) |
Set find file path by given path.
Definition at line 12 of file musicsongchecktoolsthread.cpp.
References m_songItems.
Referenced by MusicSongCheckToolsWidget::renameReCheckButtonClicked().
|
private |
Definition at line 70 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 69 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 71 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 68 of file musicsongchecktoolsthread.h.
Referenced by run(), and setRenameSongs().