diff options
Diffstat (limited to 'tests/auto/input/qaction/tst_qaction.cpp')
-rw-r--r-- | tests/auto/input/qaction/tst_qaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/input/qaction/tst_qaction.cpp b/tests/auto/input/qaction/tst_qaction.cpp index adf8a0c46..16b961d83 100644 --- a/tests/auto/input/qaction/tst_qaction.cpp +++ b/tests/auto/input/qaction/tst_qaction.cpp @@ -107,7 +107,7 @@ private Q_SLOTS: // THEN QCOMPARE(arbiter.events.size(), 1); - Qt3DCore::QScenePropertyChangePtr change = arbiter.events.first().staticCast<Qt3DCore::QScenePropertyChange>(); + Qt3DCore::QNodePropertyChangePtr change = arbiter.events.first().staticCast<Qt3DCore::QNodePropertyChange>(); QCOMPARE(change->propertyName(), "input"); QCOMPARE(change->value().value<Qt3DCore::QNodeId>(), input->id()); QCOMPARE(change->type(), Qt3DCore::NodeAdded); @@ -120,7 +120,7 @@ private Q_SLOTS: // THEN QCOMPARE(arbiter.events.size(), 1); - change = arbiter.events.first().staticCast<Qt3DCore::QScenePropertyChange>(); + change = arbiter.events.first().staticCast<Qt3DCore::QNodePropertyChange>(); QCOMPARE(change->propertyName(), "input"); QCOMPARE(change->value().value<Qt3DCore::QNodeId>(), input->id()); QCOMPARE(change->type(), Qt3DCore::NodeRemoved); @@ -135,7 +135,7 @@ private Q_SLOTS: // Note: simulate backend change to frontend // WHEN - Qt3DCore::QScenePropertyChangePtr valueChange(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); + Qt3DCore::QNodePropertyChangePtr valueChange(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId())); valueChange->setPropertyName("active"); valueChange->setValue(true); sceneChangeEvent(valueChange); |