void NeuronAdapter::setNeuron(Neuron *neuron) { m_neuron = neuron; m_isInput = neuron->isInput(); emit isInputChanged(m_isInput); m_isOutput = neuron->isOutput(); emit isOutputChanged(m_isOutput); }
/// mode changed handler void SignalItem::onParentModeChanged(int) { isOutputChanged(getIsOutput()); isInputChanged(getIsInput()); }