| 488 | |
| 489 | |
| 490 | void 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 |
no outgoing calls
no test coverage detected