summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qinputchord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend/qinputchord.h')
-rw-r--r--src/input/frontend/qinputchord.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/frontend/qinputchord.h b/src/input/frontend/qinputchord.h
index ca537ba93..402b0b9fa 100644
--- a/src/input/frontend/qinputchord.h
+++ b/src/input/frontend/qinputchord.h
@@ -51,11 +51,20 @@ class QInputChordPrivate;
class QT3DINPUTSHARED_EXPORT QInputChord : public Qt3DInput::QAbstractAggregateActionInput
{
Q_OBJECT
+ Q_PROPERTY(int tolerance READ tolerance WRITE setTolerance NOTIFY toleranceChanged)
public:
explicit QInputChord(Qt3DCore::QNode *parent = Q_NULLPTR);
~QInputChord();
+ int tolerance() const;
+
+public Q_SLOTS:
+ void setTolerance(int tolerance);
+
+Q_SIGNALS:
+ void toleranceChanged(int tolerance);
+
protected:
void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE;