summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qabstractphysicaldevice.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/input/frontend/qabstractphysicaldevice.cpp
parentdaa14a660276da4e2b82483d15eb0a929bef9857 (diff)
QNodePropertyChange -> QPropertyUpdatedChange
Task-number: QTBUG-51494 Change-Id: Ic326499f80b5a91b2d19c09770de926f220cc805 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qabstractphysicaldevice.cpp')
-rw-r--r--src/input/frontend/qabstractphysicaldevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/frontend/qabstractphysicaldevice.cpp b/src/input/frontend/qabstractphysicaldevice.cpp
index b031e956a..abafacab3 100644
--- a/src/input/frontend/qabstractphysicaldevice.cpp
+++ b/src/input/frontend/qabstractphysicaldevice.cpp
@@ -41,7 +41,7 @@
#include "qabstractphysicaldevice_p.h"
#include <Qt3DInput/qphysicaldevicecreatedchange.h>
#include <Qt3DInput/qaxissetting.h>
-#include <Qt3DCore/qnodepropertychange.h>
+#include <Qt3DCore/qpropertyupdatedchange.h>
#include <Qt3DCore/qnodeaddedpropertychange.h>
#include <Qt3DCore/qnoderemovedpropertychange.h>
#include <Qt3DCore/private/qnode_p.h>
@@ -198,7 +198,7 @@ QVector<QAxisSetting *> QAbstractPhysicalDevice::axisSettings() const
void QAbstractPhysicalDevicePrivate::postAxisEvent(int axis, qreal value)
{
Q_Q(QAbstractPhysicalDevice);
- Qt3DCore::QNodePropertyChangePtr change(new Qt3DCore::QNodePropertyChange(q->id()));
+ Qt3DCore::QPropertyUpdatedChangePtr change(new Qt3DCore::QPropertyUpdatedChange(q->id()));
change->setPropertyName("axisEvent");
change->setValue(QVariant::fromValue(QPair<int, qreal>(axis, value)));
notifyObservers(change);
@@ -210,7 +210,7 @@ void QAbstractPhysicalDevicePrivate::postAxisEvent(int axis, qreal value)
void QAbstractPhysicalDevicePrivate::postButtonEvent(int button, qreal value)
{
Q_Q(QAbstractPhysicalDevice);
- Qt3DCore::QNodePropertyChangePtr change(new Qt3DCore::QNodePropertyChange(q->id()));
+ Qt3DCore::QPropertyUpdatedChangePtr change(new Qt3DCore::QPropertyUpdatedChange(q->id()));
change->setPropertyName("buttonEvent");
change->setValue(QVariant::fromValue(QPair<int, qreal>(button, value)));
notifyObservers(change);