| 22 | |
| 23 | |
| 24 | EngineConfigurationModel::EngineConfigurationModel(EngineManager* engineManager, QObject* parent) |
| 25 | : QAbstractListModel(parent), m_engineManager(engineManager) |
| 26 | { |
| 27 | Q_ASSERT(m_engineManager != nullptr); |
| 28 | |
| 29 | connect(m_engineManager, SIGNAL(engineAdded(int)), this, |
| 30 | SLOT(onEngineAdded(int))); |
| 31 | connect(m_engineManager, SIGNAL(engineAboutToBeRemoved(int)), this, |
| 32 | SLOT(onEngineAboutToBeRemoved(int))); |
| 33 | connect(m_engineManager, SIGNAL(engineUpdated(int)), this, |
| 34 | SLOT(onEngineUpdated(int))); |
| 35 | connect(m_engineManager, SIGNAL(enginesReset()), this, |
| 36 | SLOT(onEnginesReset())); |
| 37 | } |
| 38 | |
| 39 | EngineConfigurationModel::~EngineConfigurationModel() |
| 40 | { |
nothing calls this directly
no outgoing calls
no test coverage detected