Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 44b8a049db86aa452da128b7b4c2261f > files > 69

qtconnectivity5-doc-5.12.2-2.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" />
<!-- qbluetoothlocaldevice.cpp -->
  <title>QBluetoothLocalDevice Class | Qt Bluetooth 5.12.2</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 >QBluetoothLocalDevice</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtbluetooth-index.html">Qt 5.12.2 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-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</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">QBluetoothLocalDevice Class</h1>
<!-- $$$QBluetoothLocalDevice-brief -->
<p>The <a href="qbluetoothlocaldevice.html">QBluetoothLocalDevice</a> class enables access to the local Bluetooth device. <a href="#details">More...</a></p>
<!-- @@@QBluetoothLocalDevice -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QBluetoothLocalDevice&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="qbluetoothlocaldevice-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#Error-enum">Error</a></b> { NoError, PairingError, UnknownError }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#HostMode-enum">HostMode</a></b> { HostPoweredOff, HostConnectable, HostDiscoverable, HostDiscoverableLimitedInquiry }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#Pairing-enum">Pairing</a></b> { Unpaired, Paired, AuthorizedPaired }</td></tr>
</table></div>
<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="qbluetoothlocaldevice.html#QBluetoothLocalDevice">QBluetoothLocalDevice</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#QBluetoothLocalDevice-1">QBluetoothLocalDevice</a></b>(const QBluetoothAddress &amp;<i>address</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#dtor.QBluetoothLocalDevice">~QBluetoothLocalDevice</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothAddress </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#address">address</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QBluetoothAddress&gt; </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#connectedDevices">connectedDevices</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothLocalDevice::HostMode </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#hostMode">hostMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#isValid">isValid</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#name">name</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothLocalDevice::Pairing </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#pairingStatus">pairingStatus</a></b>(const QBluetoothAddress &amp;<i>address</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#powerOn">powerOn</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#requestPairing">requestPairing</a></b>(const QBluetoothAddress &amp;<i>address</i>, QBluetoothLocalDevice::Pairing <i>pairing</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#setHostMode">setHostMode</a></b>(QBluetoothLocalDevice::HostMode <i>mode</i>)</td></tr>
</table></div>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#pairingConfirmation">pairingConfirmation</a></b>(bool <i>confirmation</i>)</td></tr>
</table></div>
<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="qbluetoothlocaldevice.html#deviceConnected">deviceConnected</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="qbluetoothlocaldevice.html#deviceDisconnected">deviceDisconnected</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="qbluetoothlocaldevice.html#error">error</a></b>(QBluetoothLocalDevice::Error <i>error</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#hostModeStateChanged">hostModeStateChanged</a></b>(QBluetoothLocalDevice::HostMode <i>state</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#pairingDisplayConfirmation">pairingDisplayConfirmation</a></b>(const QBluetoothAddress &amp;<i>address</i>, QString <i>pin</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#pairingDisplayPinCode">pairingDisplayPinCode</a></b>(const QBluetoothAddress &amp;<i>address</i>, QString <i>pin</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#pairingFinished">pairingFinished</a></b>(const QBluetoothAddress &amp;<i>address</i>, QBluetoothLocalDevice::Pairing <i>pairing</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"> QList&lt;QBluetoothHostInfo&gt; </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#allDevices">allDevices</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothlocaldevice.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QBluetoothLocalDevice-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qbluetoothlocaldevice.html">QBluetoothLocalDevice</a> class enables access to the local Bluetooth device.</p>
<p><a href="qbluetoothlocaldevice.html">QBluetoothLocalDevice</a> provides functions for getting and setting the state of local Bluetooth devices.</p>
<p>On iOS and Windows, this class cannot be used because the platform does not expose any data or API which may provide information on the local Bluetooth device.</p>
</div>
<!-- @@@QBluetoothLocalDevice -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Error$$$NoError$$$PairingError$$$UnknownError -->
<h3 class="fn" id="Error-enum"><a name="Error-enum"></a>enum QBluetoothLocalDevice::<span class="name">Error</span></h3>
<p>This enum describes errors that maybe returned</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::NoError</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No known error</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::PairingError</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Error in pairing</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::UnknownError</code></td><td class="topAlign tblval"><code>100</code></td><td class="topAlign">Unknown error</td></tr>
</table></div>
<!-- @@@Error -->
<!-- $$$HostMode$$$HostPoweredOff$$$HostConnectable$$$HostDiscoverable$$$HostDiscoverableLimitedInquiry -->
<h3 class="fn" id="HostMode-enum"><a name="HostMode-enum"></a>enum QBluetoothLocalDevice::<span class="name">HostMode</span></h3>
<p>This enum describes the most of the local Bluetooth device.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::HostPoweredOff</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Power off the device</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::HostConnectable</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Remote Bluetooth devices can connect to the local Bluetooth device if they have previously been paired with it or otherwise know its address. This powers up the device if it was powered off.</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::HostDiscoverable</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Remote Bluetooth devices can discover the presence of the local Bluetooth device. The device will also be connectable, and powered on. On Android, this mode can only be active for a maximum of 5 minutes.</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::HostDiscoverableLimitedInquiry</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Remote Bluetooth devices can discover the presence of the local Bluetooth device when performing a limited inquiry. This should be used for locating services that are only made discoverable for a limited period of time. This can speed up discovery between gaming devices, as service discovery can be skipped on devices not in LimitedInquiry mode. In this mode, the device will be connectable and powered on, if required. This mode is is not supported on Android. On macOS, it is not possible to set the <a href="qbluetoothlocaldevice.html#hostMode">hostMode</a>() to HostConnectable or HostPoweredOff.</td></tr>
</table></div>
<!-- @@@HostMode -->
<!-- $$$Pairing$$$Unpaired$$$Paired$$$AuthorizedPaired -->
<h3 class="fn" id="Pairing-enum"><a name="Pairing-enum"></a>enum QBluetoothLocalDevice::<span class="name">Pairing</span></h3>
<p>This enum describes the pairing state between the two Bluetooth devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::Unpaired</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The Bluetooth devices are not paired.</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::Paired</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The Bluetooth devices are paired. The system will prompt the user for authorization when the remote device initiates a connection to the local device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothLocalDevice::AuthorizedPaired</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The Bluetooth devices are paired. The system will not prompt the user for authorization when the remote device initiates a connection to the local device.</td></tr>
</table></div>
<!-- @@@Pairing -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QBluetoothLocalDevice[overload1]$$$QBluetoothLocalDeviceQObject* -->
<h3 class="fn" id="QBluetoothLocalDevice"><a name="QBluetoothLocalDevice"></a>QBluetoothLocalDevice::<span class="name">QBluetoothLocalDevice</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Default constructs an instance of QBluetoothLocalDevice.</p><!-- @@@QBluetoothLocalDevice -->
<!-- $$$QBluetoothLocalDevice$$$QBluetoothLocalDeviceconstQBluetoothAddress&QObject* -->
<h3 class="fn" id="QBluetoothLocalDevice-1"><a name="QBluetoothLocalDevice-1"></a>QBluetoothLocalDevice::<span class="name">QBluetoothLocalDevice</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Default constructs an instance of QBluetoothLocalDevice.</p><!-- @@@QBluetoothLocalDevice -->
<!-- $$$~QBluetoothLocalDevice[overload1]$$$~QBluetoothLocalDevice -->
<h3 class="fn" id="dtor.QBluetoothLocalDevice"><a name="dtor.QBluetoothLocalDevice"></a><code>[virtual] </code>QBluetoothLocalDevice::<span class="name">~QBluetoothLocalDevice</span>()</h3>
<p>Destroys the <a href="qbluetoothlocaldevice.html">QBluetoothLocalDevice</a>.</p>
<!-- @@@~QBluetoothLocalDevice -->
<!-- $$$address[overload1]$$$address -->
<h3 class="fn" id="address"><a name="address"></a><span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> QBluetoothLocalDevice::<span class="name">address</span>() const</h3>
<!-- @@@address -->
<!-- $$$allDevices[overload1]$$$allDevices -->
<h3 class="fn" id="allDevices"><a name="allDevices"></a><code>[static] </code><span class="type">QList</span>&lt;<span class="type"><a href="qbluetoothhostinfo.html">QBluetoothHostInfo</a></span>&gt; QBluetoothLocalDevice::<span class="name">allDevices</span>()</h3>
<!-- @@@allDevices -->
<!-- $$$connectedDevices[overload1]$$$connectedDevices -->
<h3 class="fn" id="connectedDevices"><a name="connectedDevices"></a><span class="type">QList</span>&lt;<span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span>&gt; QBluetoothLocalDevice::<span class="name">connectedDevices</span>() const</h3>
<!-- @@@connectedDevices -->
<!-- $$$deviceConnected[overload1]$$$deviceConnectedconstQBluetoothAddress& -->
<h3 class="fn" id="deviceConnected"><a name="deviceConnected"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">deviceConnected</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>)</h3>
<!-- @@@deviceConnected -->
<!-- $$$deviceDisconnected[overload1]$$$deviceDisconnectedconstQBluetoothAddress& -->
<h3 class="fn" id="deviceDisconnected"><a name="deviceDisconnected"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">deviceDisconnected</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>)</h3>
<!-- @@@deviceDisconnected -->
<!-- $$$error[overload1]$$$errorQBluetoothLocalDevice::Error -->
<h3 class="fn" id="error"><a name="error"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">error</span>(<span class="type"><a href="qbluetoothlocaldevice.html#Error-enum">QBluetoothLocalDevice::Error</a></span> <i>error</i>)</h3>
<!-- @@@error -->
<!-- $$$hostMode[overload1]$$$hostMode -->
<h3 class="fn" id="hostMode"><a name="hostMode"></a><span class="type"><a href="qbluetoothlocaldevice.html#HostMode-enum">QBluetoothLocalDevice::HostMode</a></span> QBluetoothLocalDevice::<span class="name">hostMode</span>() const</h3>
<p><b>See also </b><a href="qbluetoothlocaldevice.html#setHostMode">setHostMode</a>().</p>
<!-- @@@hostMode -->
<!-- $$$hostModeStateChanged[overload1]$$$hostModeStateChangedQBluetoothLocalDevice::HostMode -->
<h3 class="fn" id="hostModeStateChanged"><a name="hostModeStateChanged"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">hostModeStateChanged</span>(<span class="type"><a href="qbluetoothlocaldevice.html#HostMode-enum">QBluetoothLocalDevice::HostMode</a></span> <i>state</i>)</h3>
<!-- @@@hostModeStateChanged -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn" id="isValid"><a name="isValid"></a><span class="type">bool</span> QBluetoothLocalDevice::<span class="name">isValid</span>() const</h3>
<p>Returns <code>true</code> if the <a href="qbluetoothlocaldevice.html">QBluetoothLocalDevice</a> represents an available local Bluetooth device; otherwise return false.</p>
<p>If the local Bluetooth adapter represented by an instance of this class is removed from the system (e.g&#x2e; removal of the underlying Bluetooth dongle) then this instance will become invalid. An already invalid <a href="qbluetoothlocaldevice.html">QBluetoothLocalDevice</a> instance remains invalid even if the same Bluetooth adapter is returned to the system.</p>
<p><b>See also </b><a href="qbluetoothlocaldevice.html#allDevices">allDevices</a>().</p>
<!-- @@@isValid -->
<!-- $$$name[overload1]$$$name -->
<h3 class="fn" id="name"><a name="name"></a><span class="type">QString</span> QBluetoothLocalDevice::<span class="name">name</span>() const</h3>
<!-- @@@name -->
<!-- $$$pairingConfirmation[overload1]$$$pairingConfirmationbool -->
<h3 class="fn" id="pairingConfirmation"><a name="pairingConfirmation"></a><code>[slot] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">pairingConfirmation</span>(<span class="type">bool</span> <i>confirmation</i>)</h3>
<!-- @@@pairingConfirmation -->
<!-- $$$pairingDisplayConfirmation[overload1]$$$pairingDisplayConfirmationconstQBluetoothAddress&QString -->
<h3 class="fn" id="pairingDisplayConfirmation"><a name="pairingDisplayConfirmation"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">pairingDisplayConfirmation</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>, <span class="type">QString</span> <i>pin</i>)</h3>
<!-- @@@pairingDisplayConfirmation -->
<!-- $$$pairingDisplayPinCode[overload1]$$$pairingDisplayPinCodeconstQBluetoothAddress&QString -->
<h3 class="fn" id="pairingDisplayPinCode"><a name="pairingDisplayPinCode"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">pairingDisplayPinCode</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>, <span class="type">QString</span> <i>pin</i>)</h3>
<!-- @@@pairingDisplayPinCode -->
<!-- $$$pairingFinished[overload1]$$$pairingFinishedconstQBluetoothAddress&QBluetoothLocalDevice::Pairing -->
<h3 class="fn" id="pairingFinished"><a name="pairingFinished"></a><code>[signal] </code><span class="type">void</span> QBluetoothLocalDevice::<span class="name">pairingFinished</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>, <span class="type"><a href="qbluetoothlocaldevice.html#Pairing-enum">QBluetoothLocalDevice::Pairing</a></span> <i>pairing</i>)</h3>
<!-- @@@pairingFinished -->
<!-- $$$pairingStatus[overload1]$$$pairingStatusconstQBluetoothAddress& -->
<h3 class="fn" id="pairingStatus"><a name="pairingStatus"></a><span class="type"><a href="qbluetoothlocaldevice.html#Pairing-enum">QBluetoothLocalDevice::Pairing</a></span> QBluetoothLocalDevice::<span class="name">pairingStatus</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>) const</h3>
<!-- @@@pairingStatus -->
<!-- $$$powerOn[overload1]$$$powerOn -->
<h3 class="fn" id="powerOn"><a name="powerOn"></a><span class="type">void</span> QBluetoothLocalDevice::<span class="name">powerOn</span>()</h3>
<!-- @@@powerOn -->
<!-- $$$requestPairing[overload1]$$$requestPairingconstQBluetoothAddress&QBluetoothLocalDevice::Pairing -->
<h3 class="fn" id="requestPairing"><a name="requestPairing"></a><span class="type">void</span> QBluetoothLocalDevice::<span class="name">requestPairing</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i>, <span class="type"><a href="qbluetoothlocaldevice.html#Pairing-enum">QBluetoothLocalDevice::Pairing</a></span> <i>pairing</i>)</h3>
<!-- @@@requestPairing -->
<!-- $$$setHostMode[overload1]$$$setHostModeQBluetoothLocalDevice::HostMode -->
<h3 class="fn" id="setHostMode"><a name="setHostMode"></a><span class="type">void</span> QBluetoothLocalDevice::<span class="name">setHostMode</span>(<span class="type"><a href="qbluetoothlocaldevice.html#HostMode-enum">QBluetoothLocalDevice::HostMode</a></span> <i>mode</i>)</h3>
<p><b>See also </b><a href="qbluetoothlocaldevice.html#hostMode">hostMode</a>().</p>
<!-- @@@setHostMode -->
</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>