Changeset View
Changeset View
Standalone View
Standalone View
src/server/fakeinput_interface.h
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 100 | Q_SIGNALS: | |||
---|---|---|---|---|---|
120 | /** | 120 | /** | ||
121 | * Requests a pointer button release for @p button. | 121 | * Requests a pointer button release for @p button. | ||
122 | **/ | 122 | **/ | ||
123 | void pointerButtonReleaseRequested(quint32 button); | 123 | void pointerButtonReleaseRequested(quint32 button); | ||
124 | /** | 124 | /** | ||
125 | * Requests a pointer axis for the given @p orientation by @p delta. | 125 | * Requests a pointer axis for the given @p orientation by @p delta. | ||
126 | **/ | 126 | **/ | ||
127 | void pointerAxisRequested(Qt::Orientation orientation, qreal delta); | 127 | void pointerAxisRequested(Qt::Orientation orientation, qreal delta); | ||
128 | void touchDownRequested(quint32 id, const QPointF &pos); | ||||
129 | void touchMotionRequested(quint32 id, const QSizeF &delta); | ||||
130 | void touchUpRequested(quint32 id); | ||||
131 | void touchCancelRequested(); | ||||
132 | void touchFrameRequested(); | ||||
bshah: Given this will be part of public API, please add the documentation for this methods like… | |||||
128 | 133 | | |||
129 | private: | 134 | private: | ||
130 | friend class FakeInputInterface; | 135 | friend class FakeInputInterface; | ||
131 | FakeInputDevice(wl_resource *resource, FakeInputInterface *parent); | 136 | FakeInputDevice(wl_resource *resource, FakeInputInterface *parent); | ||
132 | class Private; | 137 | class Private; | ||
133 | QScopedPointer<Private> d; | 138 | QScopedPointer<Private> d; | ||
134 | }; | 139 | }; | ||
graesslin: same here | |||||
135 | 140 | | |||
136 | } | 141 | } | ||
137 | } | 142 | } | ||
138 | 143 | | |||
139 | Q_DECLARE_METATYPE(KWayland::Server::FakeInputDevice*) | 144 | Q_DECLARE_METATYPE(KWayland::Server::FakeInputDevice*) | ||
140 | 145 | | |||
141 | #endif | 146 | #endif |
Given this will be part of public API, please add the documentation for this methods like other pointer methods.