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 process server. More...
#include <musicprocessmanager.h>
Public Member Functions | |
MusicProcessServer (QObject *parent=nullptr) | |
~MusicProcessServer () | |
void | run (const QStringList &args) const |
Private Slots | |
void | timeout () |
Private Attributes | |
QTimer | m_timer |
QSharedMemory | m_memory |
The class of the process server.
Definition at line 44 of file musicprocessmanager.h.
|
explicit |
Object constructor.
Definition at line 28 of file musicprocessmanager.cpp.
References m_memory, m_timer, MEMORY_KEY, MEMORY_SIZE, timeout(), and TTK_DN_S2MS.
MusicProcessServer::~MusicProcessServer | ( | ) |
Object destructor.
Definition at line 44 of file musicprocessmanager.cpp.
void MusicProcessServer::run | ( | const QStringList & | args | ) | const |
Run.
Definition at line 50 of file musicprocessmanager.cpp.
References TTKCommandLineParser::addOption(), MusicApplication::importSongsByOutside(), MusicApplication::instance(), TTKCommandLineParser::isSet(), TTKCommandLineParser::process(), TTKCommandLineParser::showHelp(), TTK_INFO_STREAM, and TTKCommandLineParser::value().
|
privateslot |
Thread run now.
Definition at line 93 of file musicprocessmanager.cpp.
References m_memory, MEMORY_SIZE, run(), and TTK_SPLITER.
Referenced by MusicProcessServer().
|
private |
Definition at line 71 of file musicprocessmanager.h.
Referenced by MusicProcessServer(), timeout(), and ~MusicProcessServer().
|
private |
Definition at line 70 of file musicprocessmanager.h.
Referenced by MusicProcessServer(), and ~MusicProcessServer().