summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-06-13 12:15:33 +0200
committerNico Vertriest <nico.vertriest@qt.io>2017-06-19 08:04:32 +0000
commit3459308cf3ad934aae1a388a404626590b3e7897 (patch)
tree19fa5d18110ea88afd0157bbd51f2eb46a3c66ff
parent29dbb9acede3f5d9e477fdedd53d04be4136c0de (diff)
Doc: correct qmlmethod statement
Change-Id: I9895a41cdf00bbfd1e41c07c627235a82f16f2c4 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r--src/compositor/compositor_api/qwaylandquickitem.cpp2
-rw-r--r--src/compositor/extensions/qwaylandwlshell.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem.cpp b/src/compositor/compositor_api/qwaylandquickitem.cpp
index fb493e8fe..14d4a9f11 100644
--- a/src/compositor/compositor_api/qwaylandquickitem.cpp
+++ b/src/compositor/compositor_api/qwaylandquickitem.cpp
@@ -835,7 +835,7 @@ void QWaylandQuickItem::setAllowDiscardFrontBuffer(bool discard)
}
/*!
- * \qmlmethod QtWaylandCompositor::WaylandQuickItem::setPrimary
+ * \qmlmethod WaylandQuickItem::setPrimary()
*
* Makes this WaylandQuickItem the primary view for the surface.
*/
diff --git a/src/compositor/extensions/qwaylandwlshell.cpp b/src/compositor/extensions/qwaylandwlshell.cpp
index fd323f0ef..038e41b1f 100644
--- a/src/compositor/extensions/qwaylandwlshell.cpp
+++ b/src/compositor/extensions/qwaylandwlshell.cpp
@@ -532,10 +532,10 @@ QSize QWaylandWlShellSurface::sizeForResize(const QSizeF &size, const QPointF &d
*/
/*!
- * \qmlmethod void QtWaylandCompositor::WlShellSurface::sendConfigure(size size, enum edges)
+ * \qmlmethod void WlShellSurface::sendConfigure(size s, enum edges)
*
* Sends a configure event to the client, suggesting that it resize its surface to
- * the provided \a size. The \a edges provide a hint about how the surface
+ * the provided size \a s. The \a edges provide a hint about how the surface
* was resized.
*/