TTKMusicPlayer  4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MusicSongCheckToolsDuplicateThread Class Reference

The class of the song check tools duplicate thread. More...

#include <musicsongchecktoolsthread.h>

+ Inheritance diagram for MusicSongCheckToolsDuplicateThread:

Signals

void finished (const MusicSongCheckToolsDuplicateList &items)
 

Public Member Functions

 MusicSongCheckToolsDuplicateThread (QObject *parent=nullptr)
 
void setMode (TTK::Mode mode) noexcept
 
TTK::Mode mode () const noexcept
 
void setItemList (const TTKIntList &items) noexcept
 
void setDuplicateSongs (MusicSongList *songs) noexcept
 
- Public Member Functions inherited from TTKAbstractThread
 TTKAbstractThread (QObject *parent=nullptr)
 

Private Member Functions

virtual void run () overridefinal
 

Private Attributes

TTKIntList m_ids
 
MusicSongList * m_items
 
TTK::Mode m_operateMode
 
MusicSongCheckToolsDuplicateList m_datas
 

Additional Inherited Members

- Public Slots inherited from TTKAbstractThread
void start ()
 
void stop ()
 
- Protected Attributes inherited from TTKAbstractThread
bool m_running
 

Detailed Description

The class of the song check tools duplicate thread.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 79 of file musicsongchecktoolsthread.h.

Constructor & Destructor Documentation

MusicSongCheckToolsDuplicateThread::MusicSongCheckToolsDuplicateThread ( QObject *  parent = nullptr)
explicit

Object constructor.

Definition at line 65 of file musicsongchecktoolsthread.cpp.

References m_items.

Member Function Documentation

void MusicSongCheckToolsDuplicateThread::finished ( const MusicSongCheckToolsDuplicateList &  items)
signal

Duplicate check finished.

Referenced by run().

TTK::Mode MusicSongCheckToolsDuplicateThread::mode ( ) const
inlinenoexcept

Get music song check tool mode.

Definition at line 96 of file musicsongchecktoolsthread.h.

Referenced by MusicSongCheckToolsWidget::duplicateCheckFinished().

void MusicSongCheckToolsDuplicateThread::run ( )
finaloverrideprivatevirtual
void MusicSongCheckToolsDuplicateThread::setDuplicateSongs ( MusicSongList *  songs)
noexcept

Set find file path by given path.

Definition at line 71 of file musicsongchecktoolsthread.cpp.

Referenced by MusicSongCheckToolsWidget::duplicateReCheckButtonClicked().

void MusicSongCheckToolsDuplicateThread::setItemList ( const TTKIntList items)
inlinenoexcept

Set item list.

Definition at line 100 of file musicsongchecktoolsthread.h.

Referenced by MusicSongCheckToolsWidget::duplicateButtonCheckClicked().

void MusicSongCheckToolsDuplicateThread::setMode ( TTK::Mode  mode)
inlinenoexcept

Member Data Documentation

MusicSongCheckToolsDuplicateList MusicSongCheckToolsDuplicateThread::m_datas
private

Definition at line 122 of file musicsongchecktoolsthread.h.

Referenced by run().

TTKIntList MusicSongCheckToolsDuplicateThread::m_ids
private

Definition at line 119 of file musicsongchecktoolsthread.h.

Referenced by run().

MusicSongList* MusicSongCheckToolsDuplicateThread::m_items
private

Definition at line 120 of file musicsongchecktoolsthread.h.

Referenced by MusicSongCheckToolsDuplicateThread(), and run().

TTK::Mode MusicSongCheckToolsDuplicateThread::m_operateMode
private

Definition at line 121 of file musicsongchecktoolsthread.h.

Referenced by run().


The documentation for this class was generated from the following files: