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 | /** | ||||
129 | * Requests a touch down at @p pos and identified by @p id. | ||||
130 | * | ||||
131 | * @since 5.23 | ||||
132 | **/ | ||||
bshah: Given this will be part of public API, please add the documentation for this methods like… | |||||
133 | void touchDownRequested(quint32 id, const QPointF &pos); | ||||
134 | /** | ||||
135 | * Requests a touch motion by @p pos and identified by @p id. | ||||
136 | * | ||||
137 | * @since 5.23 | ||||
138 | **/ | ||||
139 | void touchMotionRequested(quint32 id, const QPointF &pos); | ||||
graesslin: same here | |||||
140 | /** | ||||
141 | * Requests a touch up identified by @p id. | ||||
142 | * | ||||
143 | * @since 5.23 | ||||
144 | **/ | ||||
145 | void touchUpRequested(quint32 id); | ||||
146 | /** | ||||
147 | * Requests a touch cancel event. | ||||
148 | * | ||||
149 | * @since 5.23 | ||||
150 | **/ | ||||
151 | void touchCancelRequested(); | ||||
152 | /** | ||||
153 | * Requests a touch frame event. | ||||
154 | * | ||||
155 | * @since 5.23 | ||||
156 | **/ | ||||
157 | void touchFrameRequested(); | ||||
128 | 158 | | |||
129 | private: | 159 | private: | ||
130 | friend class FakeInputInterface; | 160 | friend class FakeInputInterface; | ||
131 | FakeInputDevice(wl_resource *resource, FakeInputInterface *parent); | 161 | FakeInputDevice(wl_resource *resource, FakeInputInterface *parent); | ||
132 | class Private; | 162 | class Private; | ||
133 | QScopedPointer<Private> d; | 163 | QScopedPointer<Private> d; | ||
134 | }; | 164 | }; | ||
135 | 165 | | |||
136 | } | 166 | } | ||
137 | } | 167 | } | ||
138 | 168 | | |||
139 | Q_DECLARE_METATYPE(KWayland::Server::FakeInputDevice*) | 169 | Q_DECLARE_METATYPE(KWayland::Server::FakeInputDevice*) | ||
140 | 170 | | |||
141 | #endif | 171 | #endif |
Given this will be part of public API, please add the documentation for this methods like other pointer methods.