summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend/qaction.cpp')
-rw-r--r--src/input/frontend/qaction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/frontend/qaction.cpp b/src/input/frontend/qaction.cpp
index 654c7ba05..79a72fcf5 100644
--- a/src/input/frontend/qaction.cpp
+++ b/src/input/frontend/qaction.cpp
@@ -40,7 +40,7 @@
#include "qaction.h"
#include "qaction_p.h"
#include <Qt3DCore/private/qnode_p.h>
-#include <Qt3DCore/qscenepropertychange.h>
+#include <Qt3DCore/qnodepropertychange.h>
#include <Qt3DCore/qnodecreatedchange.h>
#include <Qt3DInput/qabstractactioninput.h>
@@ -127,7 +127,7 @@ void QAction::addInput(QAbstractActionInput *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);
@@ -144,7 +144,7 @@ void QAction::removeInput(QAbstractActionInput *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);
@@ -174,7 +174,7 @@ void QAction::copy(const Qt3DCore::QNode *ref)
void QAction::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)
{
Q_D(QAction);
- Qt3DCore::QScenePropertyChangePtr e = qSharedPointerCast<Qt3DCore::QScenePropertyChange>(change);
+ Qt3DCore::QNodePropertyChangePtr e = qSharedPointerCast<Qt3DCore::QNodePropertyChange>(change);
if (e->type() == Qt3DCore::NodeUpdated && e->propertyName() == QByteArrayLiteral("active")) {
d->setActive(e->value().toBool());
}