diff options
Diffstat (limited to 'tests/auto/input/action/tst_action.cpp')
-rw-r--r-- | tests/auto/input/action/tst_action.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/input/action/tst_action.cpp b/tests/auto/input/action/tst_action.cpp index c1612519b..83189a3fa 100644 --- a/tests/auto/input/action/tst_action.cpp +++ b/tests/auto/input/action/tst_action.cpp @@ -29,7 +29,7 @@ #include <QtTest/QTest> #include <Qt3DCore/private/qnode_p.h> #include <Qt3DCore/private/qscene_p.h> -#include <Qt3DCore/qscenepropertychange.h> +#include <Qt3DCore/qnodepropertychange.h> #include <Qt3DInput/private/action_p.h> #include <Qt3DInput/QActionInput> #include <Qt3DInput/QAction> @@ -99,10 +99,10 @@ private Q_SLOTS: { // GIVEN Qt3DInput::Input::Action backendAction; - Qt3DCore::QScenePropertyChangePtr updateChange; + Qt3DCore::QNodePropertyChangePtr updateChange; // WHEN - updateChange.reset(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); + updateChange.reset(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); updateChange->setPropertyName("enabled"); updateChange->setValue(true); backendAction.sceneChangeEvent(updateChange); @@ -112,7 +112,7 @@ private Q_SLOTS: // WHEN Qt3DCore::QNodeId inputId = Qt3DCore::QNodeId::createId(); - updateChange.reset(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeAdded, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); + updateChange.reset(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeAdded, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); updateChange->setPropertyName("input"); updateChange->setValue(QVariant::fromValue(inputId)); backendAction.sceneChangeEvent(updateChange); @@ -122,7 +122,7 @@ private Q_SLOTS: QCOMPARE(backendAction.inputs().first(), inputId); // WHEN - updateChange.reset(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeRemoved, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); + updateChange.reset(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeRemoved, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); updateChange->setPropertyName("input"); updateChange->setValue(QVariant::fromValue(inputId)); backendAction.sceneChangeEvent(updateChange); @@ -145,7 +145,7 @@ private Q_SLOTS: // THEN QVERIFY(currentActionTriggeredValue != backendAction.actionTriggered()); QCOMPARE(arbiter.events.count(), 1); - Qt3DCore::QScenePropertyChangePtr change = arbiter.events.first().staticCast<Qt3DCore::QScenePropertyChange>(); + Qt3DCore::QNodePropertyChangePtr change = arbiter.events.first().staticCast<Qt3DCore::QNodePropertyChange>(); QCOMPARE(change->propertyName(), "active"); QCOMPARE(change->value().toBool(), backendAction.actionTriggered()); |