bool GitlEventBus::registerModule(GitlModuleDelegate* pcModule) { qRegisterMetaType< QSharedPointer<GitlEvent> >("QSharedPointer<GitlEvent>"); connect(this, SIGNAL(eventTriggered(QSharedPointer<GitlEvent>) ), pcModule, SLOT (detonate (QSharedPointer<GitlEvent>) ), Qt::AutoConnection ); return true; }
bool GitlEventBus::registerModule(GitlModuleDelegate* pcModule)
{
qRegisterMetaType< QSharedPointer >("QSharedPointer");
connect(this, SIGNAL(eventTriggered(QSharedPointer) ),
pcModule, SLOT (detonate (QSharedPointer) ),
Qt::AutoConnection );
}