diff options
Diffstat (limited to 'src/input/frontend/qaxis.cpp')
-rw-r--r-- | src/input/frontend/qaxis.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/frontend/qaxis.cpp b/src/input/frontend/qaxis.cpp index e800085a1..137119017 100644 --- a/src/input/frontend/qaxis.cpp +++ b/src/input/frontend/qaxis.cpp @@ -39,7 +39,7 @@ #include "qaxis.h" #include "qaxis_p.h" #include <Qt3DInput/qaxisinput.h> -#include <Qt3DCore/qscenepropertychange.h> +#include <Qt3DCore/qnodepropertychange.h> #include <Qt3DCore/qnodecreatedchange.h> QT_BEGIN_NAMESPACE @@ -82,7 +82,7 @@ void QAxis::addInput(QAxisInput *input) input->setParent(this); if (d->m_changeArbiter != Q_NULLPTR) { - Qt3DCore::QScenePropertyChangePtr change(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeAdded, Qt3DCore::QSceneChange::Node, id())); + Qt3DCore::QNodePropertyChangePtr change(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeAdded, Qt3DCore::QSceneChange::Node, id())); change->setPropertyName("input"); change->setValue(QVariant::fromValue(input->id())); d->notifyObservers(change); @@ -96,7 +96,7 @@ void QAxis::removeInput(QAxisInput *input) if (d->m_inputs.contains(input)) { if (d->m_changeArbiter != Q_NULLPTR) { - Qt3DCore::QScenePropertyChangePtr change(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeRemoved, Qt3DCore::QSceneChange::Node, id())); + Qt3DCore::QNodePropertyChangePtr change(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeRemoved, Qt3DCore::QSceneChange::Node, id())); change->setPropertyName("input"); change->setValue(QVariant::fromValue(input->id())); d->notifyObservers(change); @@ -130,7 +130,7 @@ void QAxis::copy(const Qt3DCore::QNode *ref) void QAxis::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) { Q_D(QAxis); - Qt3DCore::QScenePropertyChangePtr e = qSharedPointerCast<Qt3DCore::QScenePropertyChange>(change); + Qt3DCore::QNodePropertyChangePtr e = qSharedPointerCast<Qt3DCore::QNodePropertyChange>(change); if (e->type() == Qt3DCore::NodeUpdated && e->propertyName() == QByteArrayLiteral("value")) { d->setValue(e->value().toFloat()); } |