summaryrefslogtreecommitdiffstats
path: root/tests/auto/input/qaxisinput/tst_qaxisinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/input/qaxisinput/tst_qaxisinput.cpp')
-rw-r--r--tests/auto/input/qaxisinput/tst_qaxisinput.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/input/qaxisinput/tst_qaxisinput.cpp b/tests/auto/input/qaxisinput/tst_qaxisinput.cpp
index dfda083fd..489337da9 100644
--- a/tests/auto/input/qaxisinput/tst_qaxisinput.cpp
+++ b/tests/auto/input/qaxisinput/tst_qaxisinput.cpp
@@ -110,7 +110,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(), "buttons");
QCOMPARE(change->value().toList(), buttons);
QCOMPARE(change->type(), Qt3DCore::NodeUpdated);
@@ -123,7 +123,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(), "scale");
QCOMPARE(change->value().toFloat(), 1340.0f);
QCOMPARE(change->type(), Qt3DCore::NodeUpdated);
@@ -136,7 +136,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(), "axis");
QCOMPARE(change->value().toInt(), 350);
QCOMPARE(change->type(), Qt3DCore::NodeUpdated);
@@ -150,7 +150,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(), "sourceDevice");
QCOMPARE(change->value().value<Qt3DCore::QNodeId>(), device->id());
QCOMPARE(change->type(), Qt3DCore::NodeUpdated);