From 6218661c89a5f9ee36785d187018b98855d7bab1 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Fri, 16 Mar 2018 15:05:23 +0100 Subject: Compositor: Add documentation for WaylandSurface::surfaceDestroyed Change-Id: Ia4118d5242e6bf6dfb703db76e53ea09fbc25041 Reviewed-by: Martin Smith --- src/compositor/compositor_api/qwaylandsurface.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/compositor/compositor_api/qwaylandsurface.cpp b/src/compositor/compositor_api/qwaylandsurface.cpp index da398daad..9783b5848 100644 --- a/src/compositor/compositor_api/qwaylandsurface.cpp +++ b/src/compositor/compositor_api/qwaylandsurface.cpp @@ -880,6 +880,19 @@ void QWaylandSurfacePrivate::Subsurface::subsurface_set_desync(wl_subsurface::Re * \fn void QWaylandSurface::childAdded(QWaylandSurface *child) * * 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. */ /*! -- cgit v1.2.3