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 duplicate thread. More...
#include <musicsongchecktoolsthread.h>
Signals | |
void | finished (const MusicSongCheckToolsDuplicateList &items) |
Public Member Functions | |
MusicSongCheckToolsDuplicateThread (QObject *parent=nullptr) | |
void | setMode (TTK::Mode mode) |
TTK::Mode | mode () const |
void | setItemList (const TTKIntList &items) |
void | setDuplicateSongs (MusicSongList *songs) |
![]() | |
TTKAbstractThread (QObject *parent=nullptr) | |
Private Member Functions | |
virtual void | run () overridefinal |
Private Attributes | |
MusicSongList * | m_songItems |
TTKIntList | m_itemIDs |
MusicSongCheckToolsDuplicateList | m_datas |
TTK::Mode | m_operateMode |
Additional Inherited Members | |
![]() | |
void | start () |
void | stop () |
![]() | |
bool | m_running |
The class of the song check tools duplicate thread.
Definition at line 79 of file musicsongchecktoolsthread.h.
|
explicit |
Object constructor.
Definition at line 65 of file musicsongchecktoolsthread.cpp.
References m_songItems.
|
signal |
Duplicate check finished.
Referenced by run().
|
inline |
Get music song check tool mode.
Definition at line 96 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::duplicateCheckFinished().
|
finaloverrideprivatevirtual |
Thread run now.
Reimplemented from TTKAbstractThread.
Definition at line 76 of file musicsongchecktoolsthread.cpp.
References MusicSongMeta::bitrate(), TTK::Check, finished(), m_datas, m_itemIDs, m_operateMode, TTKAbstractThread::m_running, MusicSongCheckToolsDuplicate::m_song, m_songItems, MusicSong::path(), qAsConst, and MusicSongMeta::read().
void MusicSongCheckToolsDuplicateThread::setDuplicateSongs | ( | MusicSongList * | songs | ) |
Set find file path by given path.
Definition at line 71 of file musicsongchecktoolsthread.cpp.
References m_songItems.
Referenced by MusicSongCheckToolsWidget::duplicateReCheckButtonClicked().
|
inline |
Set item list.
Definition at line 100 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::duplicateButtonCheckClicked().
|
inline |
Set music song check tool mode.
Definition at line 92 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsWidget::duplicateButtonCheckClicked(), and MusicSongCheckToolsWidget::duplicateReCheckButtonClicked().
|
private |
Definition at line 121 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 120 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 122 of file musicsongchecktoolsthread.h.
Referenced by run().
|
private |
Definition at line 119 of file musicsongchecktoolsthread.h.
Referenced by MusicSongCheckToolsDuplicateThread(), run(), and setDuplicateSongs().