<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qdbusextratypes.cpp --> <title>QDBusSignature Class | Qt D-Bus</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.12</td><td ><a href="qtdbus-index.html">Qt D-Bus</a></td><td ><a href="qtdbus-module.html">C++ Classes</a></td><td >QDBusSignature</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtdbus-index.html">Qt 5.12.6 Reference Documentation</a></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="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QDBusSignature Class</h1> <!-- $$$QDBusSignature-brief --> <p>The <a href="qdbussignature.html">QDBusSignature</a> class enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem. <a href="#details">More...</a></p> <!-- @@@QDBusSignature --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QDBusSignature></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += dbus</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 4.2</td></tr></table></div><ul> <li><a href="qdbussignature-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="qdbussignature.html#QDBusSignature">QDBusSignature</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#QDBusSignature-1">QDBusSignature</a></b>(const char *<i>signature</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#QDBusSignature-2">QDBusSignature</a></b>(QLatin1String <i>signature</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#QDBusSignature-3">QDBusSignature</a></b>(const QString &<i>signature</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#QDBusSignature-4">QDBusSignature</a></b>(QString &&<i>sig</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#setSignature">setSignature</a></b>(const QString &<i>signature</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#signature">signature</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbussignature.html#swap">swap</a></b>(QDBusSignature &<i>other</i>)</td></tr> </table></div> <a name="details"></a> <!-- $$$QDBusSignature-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qdbussignature.html">QDBusSignature</a> class enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem.</p> </div> <p><b>See also </b><a href="qdbustypesystem.html">The Qt D-Bus Type System</a>.</p> <!-- @@@QDBusSignature --> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QDBusSignature[overload1]$$$QDBusSignature --> <h3 class="fn" id="QDBusSignature"><a name="QDBusSignature"></a>QDBusSignature::<span class="name">QDBusSignature</span>()</h3> <p>Constructs a new signature.</p> <p><b>See also </b><a href="qdbussignature.html#setSignature">setSignature</a>().</p> <!-- @@@QDBusSignature --> <!-- $$$QDBusSignature$$$QDBusSignatureconstchar* --> <h3 class="fn" id="QDBusSignature-1"><a name="QDBusSignature-1"></a>QDBusSignature::<span class="name">QDBusSignature</span>(const <span class="type">char</span> *<i>signature</i>)</h3> <p>Constructs a new signature from the given <i>signature</i>.</p> <!-- @@@QDBusSignature --> <!-- $$$QDBusSignature$$$QDBusSignatureQLatin1String --> <h3 class="fn" id="QDBusSignature-2"><a name="QDBusSignature-2"></a>QDBusSignature::<span class="name">QDBusSignature</span>(<span class="type"><a href="../qtcore/qlatin1string.html">QLatin1String</a></span> <i>signature</i>)</h3> <p>Constructs a new signature from the given <i>signature</i>.</p> <!-- @@@QDBusSignature --> <!-- $$$QDBusSignature$$$QDBusSignatureconstQString& --> <h3 class="fn" id="QDBusSignature-3"><a name="QDBusSignature-3"></a>QDBusSignature::<span class="name">QDBusSignature</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>signature</i>)</h3> <p>Constructs a new signature from the given <i>signature</i>.</p> <!-- @@@QDBusSignature --> <!-- $$$QDBusSignature$$$QDBusSignatureQString&& --> <h3 class="fn" id="QDBusSignature-4"><a name="QDBusSignature-4"></a>QDBusSignature::<span class="name">QDBusSignature</span>(<span class="type"><a href="../qtcore/qstring.html">QString</a></span> &&<i>sig</i>)</h3> <p>Default constructs an instance of QDBusSignature.</p><!-- @@@QDBusSignature --> <!-- $$$setSignature[overload1]$$$setSignatureconstQString& --> <h3 class="fn" id="setSignature"><a name="setSignature"></a><span class="type">void</span> QDBusSignature::<span class="name">setSignature</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>signature</i>)</h3> <p>Assigns the value of the given <i>signature</i> to this signature.</p> <p><b>See also </b><a href="qdbussignature.html#signature">signature</a>().</p> <!-- @@@setSignature --> <!-- $$$signature[overload1]$$$signature --> <h3 class="fn" id="signature"><a name="signature"></a><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QDBusSignature::<span class="name">signature</span>() const</h3> <p>Returns this signature.</p> <p><b>See also </b><a href="qdbussignature.html#setSignature">setSignature</a>().</p> <!-- @@@signature --> <!-- $$$swap[overload1]$$$swapQDBusSignature& --> <h3 class="fn" id="swap"><a name="swap"></a><span class="type">void</span> QDBusSignature::<span class="name">swap</span>(<span class="type"><a href="qdbussignature.html#QDBusSignature">QDBusSignature</a></span> &<i>other</i>)</h3> <p>Swaps this <a href="qdbussignature.html">QDBusSignature</a> instance with <i>other</i>.</p> <!-- @@@swap --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 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>