1 #ifndef MUSICCONNECTIONPOOL_H
2 #define MUSICCONNECTIONPOOL_H
36 inline void setValue(
const QString &type, QObject *
object) noexcept
38 m_parameters[type] = object;
43 inline QObject*
value(
const QString &type)
const noexcept
45 return m_parameters[type];
51 void removeValue(
const QObject *
object);
56 void connect(
const QString &from,
const QString &to);
68 #define G_CONNECTION_PTR makeMusicConnectionPool()
71 #endif // MUSICCONNECTIONPOOL_H
#define TTK_MODULE_EXPORT
QObject * value(const QString &type) const noexcept
The class of the qt signal and slot connection pool.
#define TTK_DECLARE_SINGLETON_CLASS(Class)
// Singleton Macro // //
QMap< QString, QObject * > m_parameters
#define TTK_DECLARE_MODULE(Class)
TTK_MODULE_EXPORT MusicConnectionPool * makeMusicConnectionPool()
void setValue(const QString &type, QObject *object) noexcept