TTKMusicPlayer
3.7.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 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(), MusicCloudManagerTableWidget::queryCloudKey(), TTK::queryFileSizeByUrl(), MusicIdentifySongRequest::queryIdentifyKey(), MusicDeviceInfoModule::removableDrive(), MusicCommentsWidget::setCurrentSongName(), MusicKGDownloadBackgroundRequest::startToRequest(), MusicWYTranslationRequest::startToRequest(), MusicKGSongCommentsRequest::startToSearch(), MusicKWSongCommentsRequest::startToSearch(), MusicWYSongCommentsRequest::startToSearch(), TTK::syncNetworkQueryForGet(), and TTK::syncNetworkQueryForPost().
|
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().