summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qnode.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-05-10 12:45:08 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-05-10 19:09:26 +0000
commit8cb8811e1ff4beda5c54f826eec150f3864f397b (patch)
tree5d5506c5edecf2c8a0306dd5476696094a174870 /src/core/nodes/qnode.cpp
parentdaa14a660276da4e2b82483d15eb0a929bef9857 (diff)
QNodePropertyChange -> QPropertyUpdatedChange
Task-number: QTBUG-51494 Change-Id: Ic326499f80b5a91b2d19c09770de926f220cc805 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/nodes/qnode.cpp')
-rw-r--r--src/core/nodes/qnode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/nodes/qnode.cpp b/src/core/nodes/qnode.cpp
index ed30bc1db..f95ccaf7c 100644
--- a/src/core/nodes/qnode.cpp
+++ b/src/core/nodes/qnode.cpp
@@ -42,7 +42,7 @@
#include <Qt3DCore/qentity.h>
#include <Qt3DCore/qdynamicpropertyupdatedchange.h>
-#include <Qt3DCore/qnodepropertychange.h>
+#include <Qt3DCore/qpropertyupdatedchange.h>
#include <Qt3DCore/qnodeaddedpropertychange.h>
#include <Qt3DCore/qnoderemovedpropertychange.h>
#include <Qt3DCore/qnodedestroyedchange.h>
@@ -383,7 +383,7 @@ void QNodePrivate::setArbiter(QLockableObserverInterface *arbiter)
* aspects that correspond to this QNode.
*
* For the common case of a QObject property change, QNode handles this for you
- * automatically by sending a QNodePropertyChange event to the backend nodes.
+ * automatically by sending a QPropertyUpdatedChange event to the backend nodes.
* You only need to call this function if you wish to send a specific type of
* change in place of the automatic handling.
*/
@@ -432,7 +432,7 @@ void QNodePrivate::notifyPropertyChange(const char *name, const QVariant &value)
if (m_blockNotifications)
return;
- QNodePropertyChangePtr e(new QNodePropertyChange(m_id));
+ QPropertyUpdatedChangePtr e(new QPropertyUpdatedChange(m_id));
e->setPropertyName(name);
e->setValue(value);
notifyObservers(e);