summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qaxisinput.h
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2016-04-29 08:42:52 +0200
committerKevin Ottens <kevin.ottens@kdab.com>2016-05-02 10:26:42 +0000
commit496d8b53b16bd0703ab06978f18fcbbb7d95e845 (patch)
tree0360d6ea61941e4da7ab6574ff1fb6c342e06c88 /src/input/frontend/qaxisinput.h
parent57f6c8bb2f7b220532d5ec4c46ee7d5b7f007067 (diff)
Split QAnalogAxisInput out of QAxisInput
The axis property of QAxisInput goes there. Change-Id: Ie226de652848909fc6e3a425612d877ef18b35f3 Task-number: QTBUG-51474 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qaxisinput.h')
-rw-r--r--src/input/frontend/qaxisinput.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/input/frontend/qaxisinput.h b/src/input/frontend/qaxisinput.h
index da840f25a..ae67cce57 100644
--- a/src/input/frontend/qaxisinput.h
+++ b/src/input/frontend/qaxisinput.h
@@ -55,21 +55,17 @@ class QT3DINPUTSHARED_EXPORT QAxisInput : public Qt3DCore::QNode
{
Q_OBJECT
Q_PROPERTY(Qt3DInput::QAbstractPhysicalDevice *sourceDevice READ sourceDevice WRITE setSourceDevice NOTIFY sourceDeviceChanged)
- Q_PROPERTY(int axis READ axis WRITE setAxis NOTIFY axisChanged)
public:
explicit QAxisInput(Qt3DCore::QNode *parent = nullptr);
QAbstractPhysicalDevice *sourceDevice() const;
- int axis() const;
public Q_SLOTS:
void setSourceDevice(QAbstractPhysicalDevice *sourceDevice);
- void setAxis(int axis);
Q_SIGNALS:
void sourceDeviceChanged(QAbstractPhysicalDevice *sourceDevice);
- void axisChanged(int axis);
protected:
QAxisInput(QAxisInputPrivate &dd, QNode *parent = nullptr);