1 #ifndef MUSICCONNECTIONPOOL_H
2 #define MUSICCONNECTIONPOOL_H
35 inline void setValue(
const QString &type, QObject *
object)
37 m_parameters[type] = object;
42 inline QObject*
value(
const QString &type)
const
44 return m_parameters[type];
50 void removeValue(
const QObject *
object);
55 void connect(
const QString &from,
const QString &to);
69 #define G_CONNECTION_PTR makeMusicConnectionPool()
72 #endif // MUSICCONNECTIONPOOL_H
#define TTK_MODULE_EXPORT
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)
QObject * value(const QString &type) const
TTK_MODULE_EXPORT MusicConnectionPool * makeMusicConnectionPool()
void setValue(const QString &type, QObject *object)