summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qnode_p.h
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2019-09-17 15:47:59 +0100
committerMike Krus <mike.krus@kdab.com>2019-10-04 07:10:20 +0100
commit53efe4ea5a26e67b5a37a7a79744872af1ec34bb (patch)
treed513b42dfabcb87cbb40e9f9a3397a2555ecfda2 /src/core/nodes/qnode_p.h
parent703f7964f88df116d0dd3fdd0a8005b9abef8737 (diff)
Remove use of node/components added/removed messages
Introduce mechanism to notify backend nodes of changes in relationship between nodes. If a component is added or removed from an entity, or if a node is added or removed from a property of another node, then just rely on the node being marked as dirty when syncing takes place. For nodes that do not support syncing, messages are delivered as before but allocated on the stack rather than the heap. Change-Id: I06affac77e42a9998d9c7f44e231c7724c52b320 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/core/nodes/qnode_p.h')
-rw-r--r--src/core/nodes/qnode_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/nodes/qnode_p.h b/src/core/nodes/qnode_p.h
index 839751a5e..a7a300a5e 100644
--- a/src/core/nodes/qnode_p.h
+++ b/src/core/nodes/qnode_p.h
@@ -90,6 +90,7 @@ public:
void updatePropertyTrackMode();
void update();
+ void updateNode(QNode *node, const char* property, ChangeFlag change);
Q_DECLARE_PUBLIC(QNode)