summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-03-16 15:05:23 +0100
committerJohan Helsing <johan.helsing@qt.io>2018-03-27 07:11:16 +0000
commit6218661c89a5f9ee36785d187018b98855d7bab1 (patch)
tree7a5b57ec11af0a0d6cd40d596a71ff91286eb4f4
parent6872b71c77cf3b87c566fe5b3e8bd148a570bc4f (diff)
Compositor: Add documentation for WaylandSurface::surfaceDestroyedv5.11.0-beta4v5.11.0-beta3
Change-Id: Ia4118d5242e6bf6dfb703db76e53ea09fbc25041 Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r--src/compositor/compositor_api/qwaylandsurface.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurface.cpp b/src/compositor/compositor_api/qwaylandsurface.cpp
index da398daa..9783b584 100644
--- a/src/compositor/compositor_api/qwaylandsurface.cpp
+++ b/src/compositor/compositor_api/qwaylandsurface.cpp
@@ -882,6 +882,19 @@ void QWaylandSurfacePrivate::Subsurface::subsurface_set_desync(wl_subsurface::Re
* This signal is emitted when a wl_subsurface, \a child, has been added to the surface.
*/
+ void surfaceDestroyed();
+/*!
+ * \qmlsignal QtWaylandCompositor::WaylandSurface::surfaceDestroyed()
+ *
+ * This signal is emitted when the corresponding wl_surface is destroyed.
+ */
+
+/*!
+ * \fn void QWaylandSurface::surfaceDestroyed()
+ *
+ * This signal is emitted when the corresponing wl_surface is destroyed.
+ */
+
/*!
* \qmlsignal void QtWaylandCompositor::WaylandSurface::dragStarted(WaylandDrag drag)
*