MCPcopy Create free account
hub / github.com/cutechess/cutechess / EngineConfigurationModel

Method EngineConfigurationModel

projects/gui/src/engineconfigurationmodel.cpp:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24EngineConfigurationModel::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
39EngineConfigurationModel::~EngineConfigurationModel()
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected