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 qt signal and slot connection pool. More...
#include <musicconnectionpool.h>
Public Member Functions | |
void | setValue (const QString &type, QObject *object) |
QObject * | value (const QString &type) const |
void | removeValue (const QObject *object) |
void | connect (const QString &from, const QString &to) |
Private Member Functions | |
MusicConnectionPool ()=default | |
Private Attributes | |
QMap< QString, QObject * > | m_parameters |
The class of the qt signal and slot connection pool.
Definition at line 28 of file musicconnectionpool.h.
|
privatedefault |
Object constructor.
Set connection by two object type name.
Definition at line 25 of file musicconnectionpool.cpp.
References m_parameters.
void MusicConnectionPool::removeValue | ( | const QObject * | object | ) |
Remove connection object by object.
Definition at line 13 of file musicconnectionpool.cpp.
References m_parameters.
|
inline |
Set connection object and type name.
Definition at line 35 of file musicconnectionpool.h.
|
inline |
Get connection object by type name.
Definition at line 42 of file musicconnectionpool.h.
|
private |
Definition at line 63 of file musicconnectionpool.h.
Referenced by connect(), and removeValue().