summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-04-21 14:27:25 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-04-21 14:50:56 +0000
commitedfe8aa925598e0961411f27e14acf44a369c923 (patch)
treea0160ef1eb42ac0e1cd2cb2523379e95cb0e2dc0 /tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp
parente52d11ef2a9ba8bfceb738a3b1c4c7c9a63f5000 (diff)
Rename QScenePropertyChange -> QNodePropertyChange
Trying to unify naming of change types. Change-Id: I0bfca0b7ba5adeaaa6145f75ddb41731f76adc09 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp')
-rw-r--r--tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp b/tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp
index 6cbea93d6..3b67420f3 100644
--- a/tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp
+++ b/tests/auto/render/boundingvolumedebug/tst_boundingvolumedebug.cpp
@@ -30,7 +30,7 @@
#include <Qt3DRender/private/boundingvolumedebug_p.h>
#include <Qt3DRender/private/qboundingvolumedebug_p.h>
#include <Qt3DCore/private/qbackendnode_p.h>
-#include <Qt3DCore/qscenepropertychange.h>
+#include <Qt3DCore/qnodepropertychange.h>
#include "testpostmanarbiter.h"
#include "testrenderer.h"
@@ -91,7 +91,7 @@ private Q_SLOTS:
QVERIFY(!boundingVolumeDebug.isRecursive());
// WHEN
- Qt3DCore::QScenePropertyChangePtr updateChange(new Qt3DCore::QScenePropertyChange(Qt3DCore::NodeUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId()));
+ Qt3DCore::QNodePropertyChangePtr updateChange(new Qt3DCore::QNodePropertyChange(Qt3DCore::NodeUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId()));
updateChange->setValue(true);
updateChange->setPropertyName("recursive");
boundingVolumeDebug.sceneChangeEvent(updateChange);
@@ -113,7 +113,7 @@ private Q_SLOTS:
// THEN
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(), "radius");
QCOMPARE(change->value().toFloat(), 1340.0f);
@@ -131,7 +131,7 @@ private Q_SLOTS:
// THEN
QCOMPARE(arbiter.events.count(), 1);
- change = arbiter.events.first().staticCast<Qt3DCore::QScenePropertyChange>();
+ change = arbiter.events.first().staticCast<Qt3DCore::QNodePropertyChange>();
QCOMPARE(change->propertyName(), "center");
QCOMPARE(change->value().value<QVector3D>(), QVector3D(1.0f, 2.0f, 3.0f));