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 semaphore event loop. More...
#include <ttksemaphoreloop.h>
Public Slots | |
void | quit () |
void | exit () |
Public Member Functions | |
TTKSemaphoreLoop (QObject *parent=nullptr) | |
~TTKSemaphoreLoop () | |
int | exec (ProcessEventsFlags flags=AllEvents) |
Private Attributes | |
QTimer | m_timer |
The class of the semaphore event loop.
Definition at line 29 of file ttksemaphoreloop.h.
|
explicit |
Object constructor.
Definition at line 3 of file ttksemaphoreloop.cpp.
References m_timer, quit(), and TTK_DN_S2MS.
TTKSemaphoreLoop::~TTKSemaphoreLoop | ( | ) |
int TTKSemaphoreLoop::exec | ( | ProcessEventsFlags | flags = AllEvents | ) |
Event loop start.
Definition at line 27 of file ttksemaphoreloop.cpp.
References m_timer.
Referenced by MusicReplayGainWidget::addFileButtonClicked(), MusicReplayGainWidget::addFilesButtonClicked(), MusicReplayGainWidget::applyButtonClicked(), MusicSongSharingWidget::confirmButtonClicked(), MusicIdentifySongWidget::createDetectedSuccessedWidget(), MusicIdentifySongWidget::detectedTimeOut(), MusicLrcDownloadBatchWidget::downloadButtonClicked(), MusicDownloadMetaDataRequest::downLoadFinished(), TTK::fetchFileSizeByUrl(), MusicCloudManagerTableWidget::queryCloudKey(), MusicIdentifySongRequest::queryIdentifyKey(), MusicDeviceInfoModule::removableDrive(), MusicCommentsWidget::setCurrentSongName(), MusicWYCoverSourceRequest::startToRequest(), MusicWYTranslationRequest::startToRequest(), MusicKGDownloadBackgroundRequest::startToRequest(), MusicKWSongCommentsRequest::startToSearch(), MusicKGSongCommentsRequest::startToSearch(), MusicWYSongCommentsRequest::startToSearch(), TTK::syncNetworkQueryForGet(), TTK::syncNetworkQueryForPatch(), TTK::syncNetworkQueryForPost(), and TTK::syncNetworkQueryForPut().
|
slot |
|
slot |
Event loop quit.
Definition at line 15 of file ttksemaphoreloop.cpp.
References m_timer.
Referenced by TTKSemaphoreLoop(), and ~TTKSemaphoreLoop().
|
private |
Definition at line 59 of file ttksemaphoreloop.h.
Referenced by exec(), exit(), quit(), and TTKSemaphoreLoop().