22 Q_PROPERTY(
bool disableWhileTyping READ disableWhileTyping WRITE setDisableWhileTyping NOTIFY disableWhileTypingChanged)
23 Q_PROPERTY(
bool naturalScroll READ naturalScroll WRITE setNaturalScroll NOTIFY naturalScrollChanged)
24 Q_PROPERTY(
bool tapToClick READ tapToClick WRITE setTapToClick NOTIFY tapToClickChanged)
29 bool disableWhileTyping() const;
30 bool naturalScroll() const;
31 bool tapToClick() const;
33 void setDisableWhileTyping(
bool disableWhileTyping);
34 void setNaturalScroll(
bool naturalScroll);
35 void setTapToClick(
bool tapToClick);
37 bool enabled() const override;
38 bool leftHanded() const override;
41 double accelerationSpeed() const override;
42 void setLeftHanded(
bool leftHanded) override;
45 void setAccelerationSpeed(
double accelerationSpeed) override;
48 DExpected<
void> reset() override;
49 DExpected<
void> enable(
bool enabled = true);
52 void disableWhileTypingChanged(
bool disableWhileTyping);
53 void naturalScrollChanged(
bool naturalScroll);
54 void tapToClickChanged(
bool tapToClick);