summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qaxisinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend/qaxisinput.h')
-rw-r--r--src/input/frontend/qaxisinput.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/frontend/qaxisinput.h b/src/input/frontend/qaxisinput.h
index 40284edb7..cbda7feab 100644
--- a/src/input/frontend/qaxisinput.h
+++ b/src/input/frontend/qaxisinput.h
@@ -46,13 +46,13 @@ QT_BEGIN_NAMESPACE
namespace Qt3DInput {
-class QAbstractInputDevice;
+class QAbstractPhysicalDevice;
class QAxisInputPrivate;
class QAxisInput : public Qt3DCore::QNode
{
Q_OBJECT
- Q_PROPERTY(Qt3DInput::QAbstractInputDevice *sourceDevice READ sourceDevice WRITE setSourceDevice NOTIFY sourceDeviceChanged)
+ Q_PROPERTY(Qt3DInput::QAbstractPhysicalDevice *sourceDevice READ sourceDevice WRITE setSourceDevice NOTIFY sourceDeviceChanged)
Q_PROPERTY(float scale READ scale WRITE setScale NOTIFY scaleChanged)
Q_PROPERTY(int axis READ axis WRITE setAxis NOTIFY axisChanged)
@@ -60,8 +60,8 @@ public:
explicit QAxisInput(Qt3DCore::QNode *parent = Q_NULLPTR);
~QAxisInput();
- void setSourceDevice(QAbstractInputDevice *sourceDevice);
- QAbstractInputDevice *sourceDevice() const;
+ void setSourceDevice(QAbstractPhysicalDevice *sourceDevice);
+ QAbstractPhysicalDevice *sourceDevice() const;
void setScale(float scale);
float scale() const;