Changeset View
Changeset View
Standalone View
Standalone View
kcms/touchpad/src/backends/libinputcommon.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Line(s) | 50 | { | |||
---|---|---|---|---|---|
132 | Q_PROPERTY(bool supportsClickMethodAreas READ supportsClickMethodAreas CONSTANT) | 132 | Q_PROPERTY(bool supportsClickMethodAreas READ supportsClickMethodAreas CONSTANT) | ||
133 | Q_PROPERTY(bool defaultClickMethodAreas READ defaultClickMethodAreas CONSTANT) | 133 | Q_PROPERTY(bool defaultClickMethodAreas READ defaultClickMethodAreas CONSTANT) | ||
134 | Q_PROPERTY(bool clickMethodAreas READ isClickMethodAreas WRITE setClickMethodAreas NOTIFY clickMethodChanged) | 134 | Q_PROPERTY(bool clickMethodAreas READ isClickMethodAreas WRITE setClickMethodAreas NOTIFY clickMethodChanged) | ||
135 | 135 | | |||
136 | Q_PROPERTY(bool supportsClickMethodClickfinger READ supportsClickMethodClickfinger CONSTANT) | 136 | Q_PROPERTY(bool supportsClickMethodClickfinger READ supportsClickMethodClickfinger CONSTANT) | ||
137 | Q_PROPERTY(bool defaultClickMethodClickfinger READ defaultClickMethodClickfinger CONSTANT) | 137 | Q_PROPERTY(bool defaultClickMethodClickfinger READ defaultClickMethodClickfinger CONSTANT) | ||
138 | Q_PROPERTY(bool clickMethodClickfinger READ isClickMethodClickfinger WRITE setClickMethodClickfinger NOTIFY clickMethodChanged) | 138 | Q_PROPERTY(bool clickMethodClickfinger READ isClickMethodClickfinger WRITE setClickMethodClickfinger NOTIFY clickMethodChanged) | ||
139 | 139 | | |||
140 | Q_PROPERTY(bool supportsScrollFactor READ supportsScrollFactor CONSTANT) | ||||
140 | public: | 141 | public: | ||
141 | 142 | | |||
142 | LibinputCommon() {} | 143 | LibinputCommon() {} | ||
143 | virtual ~LibinputCommon() {} | 144 | virtual ~LibinputCommon() {} | ||
144 | 145 | | |||
145 | virtual QString name() const = 0; | 146 | virtual QString name() const = 0; | ||
146 | virtual bool supportsDisableEvents() const = 0; | 147 | virtual bool supportsDisableEvents() const = 0; | ||
147 | virtual bool isEnabled() const = 0; | 148 | virtual bool isEnabled() const = 0; | ||
▲ Show 20 Lines • Show All 202 Lines • ▼ Show 20 Line(s) | |||||
350 | } | 351 | } | ||
351 | bool isClickMethodClickfinger() const { | 352 | bool isClickMethodClickfinger() const { | ||
352 | return m_clickMethodClickfinger.val; | 353 | return m_clickMethodClickfinger.val; | ||
353 | } | 354 | } | ||
354 | void setClickMethodClickfinger(bool set) { | 355 | void setClickMethodClickfinger(bool set) { | ||
355 | m_clickMethodClickfinger.set(set); | 356 | m_clickMethodClickfinger.set(set); | ||
356 | } | 357 | } | ||
357 | 358 | | |||
359 | virtual bool supportsScrollFactor() const = 0; | ||||
360 | | ||||
358 | Q_SIGNALS: | 361 | Q_SIGNALS: | ||
359 | void enabledChanged(); | 362 | void enabledChanged(); | ||
360 | // Tapping | 363 | // Tapping | ||
361 | void tapToClickChanged(); | 364 | void tapToClickChanged(); | ||
362 | void lmrTapButtonMapChanged(); | 365 | void lmrTapButtonMapChanged(); | ||
363 | void tapAndDragChanged(); | 366 | void tapAndDragChanged(); | ||
364 | void tapDragLockChanged(); | 367 | void tapDragLockChanged(); | ||
365 | // Advanced | 368 | // Advanced | ||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |