Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 814a2b4c48f3ef6444b2ff5bf854d05a > files > 67

qtconnectivity5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qbluetoothhostinfo.cpp -->
  <title>QBluetoothHostInfo Class | Qt Bluetooth 5.12.6</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="qtbluetooth-index.html">Qt Bluetooth</a></td><td ><a href="qtbluetooth-module.html">C++ Classes</a></td><td >QBluetoothHostInfo</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtbluetooth-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">QBluetoothHostInfo Class</h1>
<!-- $$$QBluetoothHostInfo-brief -->
<p>The <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a> class encapsulates the details of a local <a href="qbluetooth.html">QBluetooth</a> device. <a href="#details">More...</a></p>
<!-- @@@QBluetoothHostInfo -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QBluetoothHostInfo&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += bluetooth</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.2</td></tr></table></div><ul>
<li><a href="qbluetoothhostinfo-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="qbluetoothhostinfo.html#QBluetoothHostInfo">QBluetoothHostInfo</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#QBluetoothHostInfo-1">QBluetoothHostInfo</a></b>(const QBluetoothHostInfo &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#dtor.QBluetoothHostInfo">~QBluetoothHostInfo</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothAddress </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#address">address</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#name">name</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#setAddress">setAddress</a></b>(const QBluetoothAddress &amp;<i>address</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#setName">setName</a></b>(const QString &amp;<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#operator-not-eq">operator!=</a></b>(const QBluetoothHostInfo &amp;<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothHostInfo &amp;</td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#operator-eq">operator=</a></b>(const QBluetoothHostInfo &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothhostinfo.html#operator-eq-eq">operator==</a></b>(const QBluetoothHostInfo &amp;<i>other</i>) const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QBluetoothHostInfo-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a> class encapsulates the details of a local <a href="qbluetooth.html">QBluetooth</a> device.</p>
<p>This class holds the name and address of a local Bluetooth device.</p>
</div>
<!-- @@@QBluetoothHostInfo -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QBluetoothHostInfo[overload1]$$$QBluetoothHostInfo -->
<h3 class="fn" id="QBluetoothHostInfo"><a name="QBluetoothHostInfo"></a>QBluetoothHostInfo::<span class="name">QBluetoothHostInfo</span>()</h3>
<p>Constructs a null <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a> object.</p>
<!-- @@@QBluetoothHostInfo -->
<!-- $$$QBluetoothHostInfo$$$QBluetoothHostInfoconstQBluetoothHostInfo& -->
<h3 class="fn" id="QBluetoothHostInfo-1"><a name="QBluetoothHostInfo-1"></a>QBluetoothHostInfo::<span class="name">QBluetoothHostInfo</span>(const <span class="type"><a href="qbluetoothhostinfo.html#QBluetoothHostInfo">QBluetoothHostInfo</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a new <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a> which is a copy of <i>other</i>.</p>
<!-- @@@QBluetoothHostInfo -->
<!-- $$$~QBluetoothHostInfo[overload1]$$$~QBluetoothHostInfo -->
<h3 class="fn" id="dtor.QBluetoothHostInfo"><a name="dtor.QBluetoothHostInfo"></a>QBluetoothHostInfo::<span class="name">~QBluetoothHostInfo</span>()</h3>
<p>Destroys the <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a>.</p>
<!-- @@@~QBluetoothHostInfo -->
<!-- $$$address[overload1]$$$address -->
<h3 class="fn" id="address"><a name="address"></a><span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> QBluetoothHostInfo::<span class="name">address</span>() const</h3>
<p>Returns the Bluetooth address as a <a href="qbluetoothaddress.html">QBluetoothAddress</a>.</p>
<p><b>See also </b><a href="qbluetoothhostinfo.html#setAddress">setAddress</a>().</p>
<!-- @@@address -->
<!-- $$$name[overload1]$$$name -->
<h3 class="fn" id="name"><a name="name"></a><span class="type">QString</span> QBluetoothHostInfo::<span class="name">name</span>() const</h3>
<p>Returns the user visible name of the host info object.</p>
<p><b>See also </b><a href="qbluetoothhostinfo.html#setName">setName</a>().</p>
<!-- @@@name -->
<!-- $$$setAddress[overload1]$$$setAddressconstQBluetoothAddress& -->
<h3 class="fn" id="setAddress"><a name="setAddress"></a><span class="type">void</span> QBluetoothHostInfo::<span class="name">setAddress</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>)</h3>
<p>Sets the Bluetooth <i>address</i> for this Bluetooth host info object.</p>
<p><b>See also </b><a href="qbluetoothhostinfo.html#address">address</a>().</p>
<!-- @@@setAddress -->
<!-- $$$setName[overload1]$$$setNameconstQString& -->
<h3 class="fn" id="setName"><a name="setName"></a><span class="type">void</span> QBluetoothHostInfo::<span class="name">setName</span>(const <span class="type">QString</span> &amp;<i>name</i>)</h3>
<p>Sets the <i>name</i> of the host info object.</p>
<p><b>See also </b><a href="qbluetoothhostinfo.html#name">name</a>().</p>
<!-- @@@setName -->
<!-- $$$operator!=[overload1]$$$operator!=constQBluetoothHostInfo& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QBluetoothHostInfo::<span class="name">operator!=</span>(const <span class="type"><a href="qbluetoothhostinfo.html#QBluetoothHostInfo">QBluetoothHostInfo</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if <i>other</i> is not equal to this <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a>, otherwise false.</p>
<p>This function was introduced in  Qt 5.5.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQBluetoothHostInfo& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qbluetoothhostinfo.html#QBluetoothHostInfo">QBluetoothHostInfo</a></span> &amp;QBluetoothHostInfo::<span class="name">operator=</span>(const <span class="type"><a href="qbluetoothhostinfo.html#QBluetoothHostInfo">QBluetoothHostInfo</a></span> &amp;<i>other</i>)</h3>
<p>Assigns <i>other</i> to this <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a> instance.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQBluetoothHostInfo& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QBluetoothHostInfo::<span class="name">operator==</span>(const <span class="type"><a href="qbluetoothhostinfo.html#QBluetoothHostInfo">QBluetoothHostInfo</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if <i>other</i> is equal to this <a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a>, otherwise false.</p>
<p>This function was introduced in  Qt 5.5.</p>
<!-- @@@operator== -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>