summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/channelmapper_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-02-28 11:16:21 +0000
committerSean Harmer <sean.harmer@kdab.com>2017-03-02 18:45:53 +0000
commit5ef53cecfdb2243ba5435e0c377b562bea5358a2 (patch)
treeda57622d8fabb274cba6d54b232ccf790aaea6d4 /src/animation/backend/channelmapper_p.h
parent195cb92b8be0159c9fabe672ec67655ea9dad6a6 (diff)
Add setters to mapping and mapper backend nodes
This will make them testable and also useable in other tests without having to create them via frontend nodes. Change-Id: I792236b46d84a690eba3b2994821e69b1ca0e72a Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/animation/backend/channelmapper_p.h')
-rw-r--r--src/animation/backend/channelmapper_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/animation/backend/channelmapper_p.h b/src/animation/backend/channelmapper_p.h
index 66654d56d..710de01ab 100644
--- a/src/animation/backend/channelmapper_p.h
+++ b/src/animation/backend/channelmapper_p.h
@@ -71,6 +71,7 @@ public:
void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE;
+ void setMappingIds(const QVector<Qt3DCore::QNodeId> &mappingIds) { m_mappingIds = mappingIds; }
QVector<Qt3DCore::QNodeId> mappingIds() const { return m_mappingIds; }
private: