summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-08-24 11:06:21 +0200
committerPaul Lemire <paul.lemire@kdab.com>2016-08-26 06:00:40 +0000
commited4fdee825f1bb5db626909c7b4353a3122ff395 (patch)
tree98c77201e30e90d1ceca5ec471e3495479cf0ee4
parenteb910d6822416926c43430f4321793ab8c232c0c (diff)
LogicalDevice: make testable
By exporting it and making sceneChangeEvent public like in most other backend classes. Change-Id: I8d8a8c16c0ffebd79758f1021fb5ed5fe92e2571 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
-rw-r--r--src/input/backend/logicaldevice_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/backend/logicaldevice_p.h b/src/input/backend/logicaldevice_p.h
index a7fdcd0ef..38d4e2dd5 100644
--- a/src/input/backend/logicaldevice_p.h
+++ b/src/input/backend/logicaldevice_p.h
@@ -62,7 +62,7 @@ namespace Input {
class LogicalDeviceManager;
-class LogicalDevice : public Qt3DCore::QBackendNode
+class Q_AUTOTEST_EXPORT LogicalDevice : public Qt3DCore::QBackendNode
{
public:
LogicalDevice();
@@ -71,7 +71,6 @@ public:
inline QVector<Qt3DCore::QNodeId> axes() const { return m_axes; }
inline QVector<Qt3DCore::QNodeId> actions() const { return m_actions; }
-protected:
void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE;
private: