libgitlevtbus
libgitlevtbus copied to clipboard
are you sure it can be used to multi thread?
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;
}