From 2a1a4bc471d9c7bd615055a6aa84af62613c72e8 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Fri, 16 Mar 2018 15:22:18 +0100 Subject: Compositor: Add documentation for XdgSurfaceV6::toplevel and popup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8ad5f8ad60081647aef2472fea462f37ff62b8b4 Reviewed-by: Topi Reiniƶ Reviewed-by: Martin Smith --- src/compositor/extensions/qwaylandxdgshellv6.cpp | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/compositor/extensions/qwaylandxdgshellv6.cpp b/src/compositor/extensions/qwaylandxdgshellv6.cpp index f45dbbff..c103dc03 100644 --- a/src/compositor/extensions/qwaylandxdgshellv6.cpp +++ b/src/compositor/extensions/qwaylandxdgshellv6.cpp @@ -612,12 +612,46 @@ QWaylandSurface *QWaylandXdgSurfaceV6::surface() const return d->m_surface; } +/*! + * \qmlproperty WaylandSurface QtWaylandCompositor::XdgSurfaceV6::toplevel + * + * This property holds the properties and methods that are specific to the + * toplevel XdgSurfaceV6. + * + * \sa popup, XdgShellV6::toplevelCreated + */ + +/*! + * \property QWaylandXdgSurfaceV6::toplevel + * + * This property holds the properties and methods that are specific to the + * toplevel QWaylandXdgSurfaceV6. + * + * \sa QWaylandXdgSurfaceV6::popup, QWaylandXdgShellV6::toplevelCreated + */ QWaylandXdgToplevelV6 *QWaylandXdgSurfaceV6::toplevel() const { Q_D(const QWaylandXdgSurfaceV6); return d->m_toplevel; } +/*! + * \qmlproperty WaylandSurface QtWaylandCompositor::XdgSurfaceV6::popup + * + * This property holds the properties and methods that are specific to the + * popup XdgSurfaceV6. + * + * \sa toplevel, XdgShellV6::popupCreated + */ + +/*! + * \property QWaylandXdgSurfaceV6::popup + * + * This property holds the properties and methods that are specific to the + * popup QWaylandXdgSurfaceV6. + * + * \sa QWaylandXdgSurfaceV6::toplevel, QWaylandXdgShellV6::popupCreated + */ QWaylandXdgPopupV6 *QWaylandXdgSurfaceV6::popup() const { Q_D(const QWaylandXdgSurfaceV6); -- cgit v1.2.1