summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandiviapplication.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-10-04 10:42:45 +0200
committerLiang Qi <liang.qi@qt.io>2017-10-04 10:42:45 +0200
commit04f6ff77ef0c8858629766e191ecc3d4ef056848 (patch)
treed3684e21bf277bdd2b0d284042d627d97ad528db /src/compositor/extensions/qwaylandiviapplication.cpp
parenta81fc596a3cbcc07396be1c0284f1ee8aa44ff8c (diff)
parent00a99e631459eb7e52fde822c24d7b9d603008c4 (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta1
Diffstat (limited to 'src/compositor/extensions/qwaylandiviapplication.cpp')
-rw-r--r--src/compositor/extensions/qwaylandiviapplication.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandiviapplication.cpp b/src/compositor/extensions/qwaylandiviapplication.cpp
index d1e87dcc4..d04662447 100644
--- a/src/compositor/extensions/qwaylandiviapplication.cpp
+++ b/src/compositor/extensions/qwaylandiviapplication.cpp
@@ -48,6 +48,49 @@
QT_BEGIN_NAMESPACE
/*!
+ * \qmltype IviApplication
+ * \inqmlmodule QtWayland.Compositor
+ * \since 5.8
+ * \brief Provides a shell extension for embedded-style user interfaces.
+ *
+ * The IviApplication extension provides a way to associate an IviSurface
+ * with a regular Wayland surface. Using the IviSurface interface, the client can identify
+ * itself by giving an ivi id, and the compositor can ask the client to resize.
+ *
+ * IviApplication corresponds to the Wayland \c ivi_application interface.
+ *
+ * To provide the functionality of the shell extension in a compositor, create
+ * an instance of the IviApplication component and add it to the list of extensions
+ * supported by the compositor:
+ * \code
+ * import QtWayland.Compositor 1.0
+ *
+ * WaylandCompositor {
+ * IviApplication {
+ * onIviSurfaceCreated: {
+ * if (iviSurface.iviId === navigationIviId) {
+ * // ...
+ * }
+ * }
+ * }
+ * }
+ * \endcode
+ */
+
+/*!
+ * \class QWaylandIviApplication
+ * \inmodule QtWaylandCompositor
+ * \since 5.8
+ * \brief The QWaylandIviApplication class is an extension for embedded-style user interfaces.
+ *
+ * The QWaylandIviApplication extension provides a way to associate an QWaylandIviSurface
+ * with a regular Wayland surface. Using the QWaylandIviSurface interface, the client can identify
+ * itself by giving an ivi id, and the compositor can ask the client to resize.
+ *
+ * QWaylandIviApplication corresponds to the Wayland \c ivi_application interface.
+ */
+
+/*!
* Constructs a QWaylandIviApplication object.
*/
QWaylandIviApplication::QWaylandIviApplication()