void ControllerTrackingAlgorithm::connectControllerToController() { IController * ctr = m_BioTrackerContext->requestController(ENUMS::CONTROLLERTYPE::COMPONENT); QPointer< ControllerTrackedComponent > ctrComponent = qobject_cast<ControllerTrackedComponent *>(ctr); m_TrackedTrajectoryMajor = ctrComponent->getModel(); }
void PatternCollectionModel::disconnectPattern(QPointer<Pattern> pattern) { disconnect(pattern->getModel(), SIGNAL(dataChanged(QModelIndex, QModelIndex, QVector<int>)), this, SLOT(on_patternDataChanged(QModelIndex, QModelIndex, QVector<int>))); }