<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qwaylandiviapplication.cpp --> <title>QWaylandIviApplication Class | Qt Wayland Compositor 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qtwaylandcompositor-index.html">Qt Wayland Compositor</a></td><td ><a href="qtwaylandcompositor-module.html">C++ Classes</a></td><td >QWaylandIviApplication</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#reimplemented-public-functions">Reimplemented Public Functions</a></li> <li class="level1"><a href="#signals">Signals</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QWaylandIviApplication Class</h1> <!-- $$$QWaylandIviApplication-brief --> <p>The <a href="qwaylandiviapplication.html">QWaylandIviApplication</a> class is an extension for embedded-style user interfaces. <a href="#details">More...</a></p> <!-- @@@QWaylandIviApplication --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QWaylandIviApplication></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += waylandcompositor</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.8</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> QWaylandCompositorExtensionTemplate</td></tr></table></div><ul> <li><a href="qwaylandiviapplication-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandiviapplication.html#QWaylandIviApplication">QWaylandIviApplication</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandiviapplication.html#QWaylandIviApplication-1">QWaylandIviApplication</a></b>(QWaylandCompositor *<i>compositor</i>)</td></tr> </table></div> <a name="reimplemented-public-functions"></a> <h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandiviapplication.html#initialize">initialize</a></b>() override</td></tr> </table></div> <ul> <li class="fn">4 public functions inherited from <a href="qwaylandcompositorextension.html#public-functions">QWaylandCompositorExtension</a></li> <li class="fn">5 public functions inherited from <a href="qwaylandobject.html#public-functions">QWaylandObject</a></li> </ul> <a name="signals"></a> <h2 id="signals">Signals</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandiviapplication.html#iviSurfaceCreated">iviSurfaceCreated</a></b>(QWaylandIviSurface *<i>iviSurface</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandiviapplication.html#iviSurfaceRequested">iviSurfaceRequested</a></b>(QWaylandSurface *<i>surface</i>, uint <i>iviId</i>, const QWaylandResource &<i>resource</i>)</td></tr> </table></div> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qwaylandiviapplication.html#interfaceName">interfaceName</a></b>()</td></tr> </table></div> <h3>Additional Inherited Members</h3> <ul> <li class="fn">1 protected function inherited from <a href="qwaylandcompositorextension.html#protected-functions">QWaylandCompositorExtension</a></li> </ul> <a name="details"></a> <!-- $$$QWaylandIviApplication-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qwaylandiviapplication.html">QWaylandIviApplication</a> class is an extension for embedded-style user interfaces.</p> <p>The <a href="qwaylandiviapplication.html">QWaylandIviApplication</a> extension provides a way to associate an <a href="qwaylandivisurface.html">QWaylandIviSurface</a> with a regular Wayland surface. Using the <a href="qwaylandivisurface.html">QWaylandIviSurface</a> interface, the client can identify itself by giving an ivi id, and the compositor can ask the client to resize.</p> <p><a href="qwaylandiviapplication.html">QWaylandIviApplication</a> corresponds to the Wayland <code>ivi_application</code> interface.</p> </div> <!-- @@@QWaylandIviApplication --> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QWaylandIviApplication[overload1]$$$QWaylandIviApplication --> <h3 class="fn" id="QWaylandIviApplication"><a name="QWaylandIviApplication"></a>QWaylandIviApplication::<span class="name">QWaylandIviApplication</span>()</h3> <p>Constructs a <a href="qwaylandiviapplication.html">QWaylandIviApplication</a> object.</p> <!-- @@@QWaylandIviApplication --> <!-- $$$QWaylandIviApplication$$$QWaylandIviApplicationQWaylandCompositor* --> <h3 class="fn" id="QWaylandIviApplication-1"><a name="QWaylandIviApplication-1"></a>QWaylandIviApplication::<span class="name">QWaylandIviApplication</span>(<span class="type"><a href="qwaylandcompositor.html">QWaylandCompositor</a></span> *<i>compositor</i>)</h3> <p>Constructs a <a href="qwaylandiviapplication.html">QWaylandIviApplication</a> object for the provided <i>compositor</i>.</p> <!-- @@@QWaylandIviApplication --> <!-- $$$initialize[overload1]$$$initialize --> <h3 class="fn" id="initialize"><a name="initialize"></a><code>[override virtual] </code><span class="type">void</span> QWaylandIviApplication::<span class="name">initialize</span>()</h3> <p>Initializes the shell extension.</p> <!-- @@@initialize --> <!-- $$$interfaceName[overload1]$$$interfaceName --> <h3 class="fn" id="interfaceName"><a name="interfaceName"></a><code>[static] </code><span class="type">QByteArray</span> QWaylandIviApplication::<span class="name">interfaceName</span>()</h3> <!-- @@@interfaceName --> <!-- $$$iviSurfaceCreated[overload1]$$$iviSurfaceCreatedQWaylandIviSurface* --> <h3 class="fn" id="iviSurfaceCreated"><a name="iviSurfaceCreated"></a><code>[signal] </code><span class="type">void</span> QWaylandIviApplication::<span class="name">iviSurfaceCreated</span>(<span class="type"><a href="qwaylandivisurface.html">QWaylandIviSurface</a></span> *<i>iviSurface</i>)</h3> <p>This signal is emitted when an <a href="qml-qtwayland-compositor-ivisurface.html">IviSurface</a>, <i>iviSurface</i>, has been created.</p> <!-- @@@iviSurfaceCreated --> <!-- $$$iviSurfaceRequested[overload1]$$$iviSurfaceRequestedQWaylandSurface*uintconstQWaylandResource& --> <h3 class="fn" id="iviSurfaceRequested"><a name="iviSurfaceRequested"></a><code>[signal] </code><span class="type">void</span> QWaylandIviApplication::<span class="name">iviSurfaceRequested</span>(<span class="type"><a href="qwaylandsurface.html">QWaylandSurface</a></span> *<i>surface</i>, <span class="type">uint</span> <i>iviId</i>, const <span class="type">QWaylandResource</span> &<i>resource</i>)</h3> <p>This signal is emitted when the client has requested an <code>ivi_surface</code> to be associated with <i>surface</i>, which is identified by <i>id</i>. The handler for this signal is expected to create the ivi surface and initialize it within the scope of the signal emission. If no ivi surface is created, a default one will be created instead.</p> <!-- @@@iviSurfaceRequested --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>