summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-09-26 11:22:18 +0200
committerJohan Helsing <johan.helsing@qt.io>2017-10-03 14:07:10 +0000
commit5dd7edb860efb1ebfc573ce3f3391e49d7a0eaad (patch)
tree792090f6e952d98d0afb5379c6b224c1685c46a2
parent186eddb7fba58a64e8ce2a3d27847c45ae3b3ab0 (diff)
Add QML documentation for WaylandSeat
Change-Id: I71f6714f2ac4d92baedd89246d57f20c159bda1b Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r--src/compositor/compositor_api/qwaylandseat.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandseat.cpp b/src/compositor/compositor_api/qwaylandseat.cpp
index 60a9c60d2..80b75d617 100644
--- a/src/compositor/compositor_api/qwaylandseat.cpp
+++ b/src/compositor/compositor_api/qwaylandseat.cpp
@@ -154,6 +154,17 @@ void QWaylandSeatPrivate::seat_get_touch(wl_seat::Resource *resource, uint32_t i
}
/*!
+ * \qmltype WaylandSeat
+ * \inqmlmodule QtWayland.Compositor
+ * \since 5.8
+ * \brief Provides access to keyboard, mouse, and touch input.
+ *
+ * The WaylandSeat type provides access to different types of user input and maintains
+ * a keyboard focus and a mouse pointer. It corresponds to the wl_seat interface in the Wayland
+ * protocol.
+ */
+
+/*!
* \class QWaylandSeat
* \inmodule QtWaylandCompositor
* \since 5.8