summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-08-08 09:54:46 +0200
committerJohan Helsing <johan.helsing@qt.io>2017-08-14 09:26:35 +0000
commit6bbbee12b81bb09b0708631f78491bd9ca978315 (patch)
treec0ef40cce133211dfacb5722de2660c67c3f3636
parent38f673748d86bb2e3443d566bbf9b94fc8709cfe (diff)
Add missing QML documentation for ShellSurfaceItem::moveItem
And add a more helpful explanation of the property. Change-Id: Ia5cd31867f5b0be586129abef829e00ee384b346 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r--src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp b/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp
index bb2f72547..5418d290e 100644
--- a/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp
+++ b/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp
@@ -128,9 +128,19 @@ void QWaylandQuickShellSurfaceItem::setShellSurface(QWaylandShellSurface *shellS
}
/*!
+ * \qmlproperty Item QtWaylandCompositor::ShellSurfaceItem::moveItem
+ *
+ * This property holds the move item for this ShellSurfaceItem. This is the item that will be moved
+ * when the clients request the ShellSurface to be moved, maximized, resized etc. This property is
+ * useful when implementing server-side decorations.
+ */
+
+/*!
* \property QWaylandQuickShellSurfaceItem::moveItem
*
- * This property holds the move item for this QWaylandQuickShellSurfaceItem.
+ * This property holds the move item for this QWaylandQuickShellSurfaceItem. This is the item that
+ * will be moved when the clients request the QWaylandShellSurface to be moved, maximized, resized
+ * etc. This property is useful when implementing server-side decorations.
*/
QQuickItem *QWaylandQuickShellSurfaceItem::moveItem() const
{