TTKMusicPlayer
4.2.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 ttk local peer. More...
#include <ttklocalpeer.h>
Signals | |
void | messageReceived (const QString &message) |
Public Member Functions | |
TTKLocalPeer (QObject *parent=nullptr, const QString &id={}) | |
bool | isClient () const |
bool | sendMessage (const QString &message, int timeout) const |
QString | applicationId () const noexcept |
Private Slots | |
void | receiveConnection () |
The class of the ttk local peer.
Definition at line 29 of file ttklocalpeer.h.
|
explicit |
Object constructor.
Definition at line 67 of file ttklocalpeer.cpp.
|
noexcept |
bool TTKLocalPeer::isClient | ( | ) | const |
Current client is running or not.
Definition at line 122 of file ttklocalpeer.cpp.
References qPrintable, TTK_D, TTK_WARN_STREAM, and TTKLockedPrivate::TTKLockedFile::WriteLock.
|
signal |
Emit when the current message received.
|
privateslot |
Current message received.
Definition at line 208 of file ttklocalpeer.cpp.
References TTK_D, and TTK_WARN_STREAM.
Send current message when the client in.
Definition at line 153 of file ttklocalpeer.cpp.
References TTK_D.