summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qactioninput.h
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-08 11:50:37 +0200
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-09 05:18:19 +0000
commit0e15154c9f0d982096a551efc53fd363d2b2f68d (patch)
tree4917ca73c44a92297db7cc3dbd72d2716481ccc7 /src/input/frontend/qactioninput.h
parent036ea9fcfdd343c805e1a900528e7a2367d6c373 (diff)
Added parameters to signals and made setters Q_SLOTS
Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qactioninput.h')
-rw-r--r--src/input/frontend/qactioninput.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/input/frontend/qactioninput.h b/src/input/frontend/qactioninput.h
index 37e9c7957..1b895832d 100644
--- a/src/input/frontend/qactioninput.h
+++ b/src/input/frontend/qactioninput.h
@@ -57,15 +57,16 @@ public:
explicit QActionInput(Qt3DCore::QNode *parent = Q_NULLPTR);
~QActionInput();
- void setSourceDevice(QAbstractPhysicalDevice *sourceDevice);
QAbstractPhysicalDevice *sourceDevice() const;
+ QVariantList keys() const;
+public Q_SLOTS:
+ void setSourceDevice(QAbstractPhysicalDevice *sourceDevice);
void setKeys(const QVariantList &keys);
- QVariantList keys() const;
Q_SIGNALS:
- void sourceDeviceChanged();
- void keysChanged();
+ void sourceDeviceChanged(QAbstractPhysicalDevice *sourceDevice);
+ void keysChanged(const QVariantList &keys);
protected:
void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE;