MCPcopy Create free account
hub / github.com/LMMS/lmms / setControllerConnection

Method setControllerConnection

src/core/AutomatableModel.cpp:490–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488
489
490void AutomatableModel::setControllerConnection( ControllerConnection* c )
491{
492 m_controllerConnection = c;
493 if( c )
494 {
495 QObject::connect( m_controllerConnection, SIGNAL( valueChanged() ),
496 this, SIGNAL( dataChanged() ), Qt::DirectConnection );
497 QObject::connect( m_controllerConnection, SIGNAL( destroyed() ), this, SLOT( unlinkControllerConnection() ) );
498 m_valueChanged = true;
499 emit dataChanged();
500 }
501}
502
503
504

Callers 2

execConnectionDialogMethod · 0.80
removeConnectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected