Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed propagation functions to protected virtual.
Signed-off-by: Finn Rayment <finn@rayment.fr>
  • Loading branch information
rayment committed Jan 29, 2023
commit bb42e8f488fa261b1ad0ed997866135e072d0e82
6 changes: 3 additions & 3 deletions include/QtNodes/internal/DataFlowGraphModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public Q_SLOTS:
private:
NodeId newNodeId() override { return _nextNodeId++; }

private Q_SLOTS:
protected Q_SLOTS:
/**
* Fuction is called in three cases:
*
Expand All @@ -117,10 +117,10 @@ private Q_SLOTS:
* - When a node restored from JSON an needs to send data downstream.
* @see DataFlowGraphModel::loadNode
*/
void onOutPortDataUpdated(NodeId const nodeId, PortIndex const portIndex);
virtual void onOutPortDataUpdated(NodeId const nodeId, PortIndex const portIndex);

/// Function is called after detaching a connection.
void propagateEmptyDataTo(NodeId const nodeId, PortIndex const portIndex);
virtual void propagateEmptyDataTo(NodeId const nodeId, PortIndex const portIndex);

private:
std::shared_ptr<NodeDelegateModelRegistry> _registry;
Expand Down