MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / initialize

Method initialize

TaskFlow/Editor/FlowEditor.cpp:13–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{}
12
13void FlowEditor::initialize()
14{
15 emit availableTaskTypesChanged();
16 emit availableFlowsChanged();
17
18 m_flowsModel = new FlowsModel(m_flowManager, this);
19
20 emit flowsModelChanged();
21
22 if (m_flowsModel->rowCount() > 0) {
23 setCurrentFlowIndex(0);
24 }
25
26 // setCurrentFlowId(m_flowManager->flows().begin().value()->flowId());
27 m_currentFlow = m_flowManager->getFlow();
28 emit currentFlowChanged();
29}
30
31QString FlowEditor::currentFlowId() const
32{

Callers

nothing calls this directly

Calls 2

rowCountMethod · 0.45
getFlowMethod · 0.45

Tested by

no test coverage detected