summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-03-16 15:22:18 +0100
committerJohan Helsing <johan.helsing@qt.io>2018-03-26 14:53:48 +0000
commit2a1a4bc471d9c7bd615055a6aa84af62613c72e8 (patch)
tree3a47e090809473bed262da1942cc61b8332d0550
parent7fcd4a2b24dbc0834b96baaeb432abc032ba4020 (diff)
Compositor: Add documentation for XdgSurfaceV6::toplevel and popup
Change-Id: I8ad5f8ad60081647aef2472fea462f37ff62b8b4 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv6.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv6.cpp b/src/compositor/extensions/qwaylandxdgshellv6.cpp
index f45dbbff3..c103dc03e 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);