Sophie

Sophie

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

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" />
<!-- qbluetoothtransferrequest.cpp -->
  <title>QBluetoothTransferRequest 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 >QBluetoothTransferRequest</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-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#protected-variables">Protected Variables</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">QBluetoothTransferRequest Class</h1>
<!-- $$$QBluetoothTransferRequest-brief -->
<p>The <a href="qbluetoothtransferrequest.html">QBluetoothTransferRequest</a> class stores information about a data transfer request. <a href="#details">More...</a></p>
<!-- @@@QBluetoothTransferRequest -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QBluetoothTransferRequest&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="qbluetoothtransferrequest-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="qbluetoothtransferrequest.html#Attribute-enum">Attribute</a></b> { DescriptionAttribute, TimeAttribute, TypeAttribute, LengthAttribute, NameAttribute }</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="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></b>(const QBluetoothAddress &amp;<i>address</i> = QBluetoothAddress())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest-1">QBluetoothTransferRequest</a></b>(const QBluetoothTransferRequest &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#dtor.QBluetoothTransferRequest">~QBluetoothTransferRequest</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothAddress </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#address">address</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVariant </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#attribute">attribute</a></b>(QBluetoothTransferRequest::Attribute <i>code</i>, const QVariant &amp;<i>defaultValue</i> = QVariant()) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#setAttribute">setAttribute</a></b>(QBluetoothTransferRequest::Attribute <i>code</i>, const QVariant &amp;<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#operator-not-eq">operator!=</a></b>(const QBluetoothTransferRequest &amp;<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothTransferRequest &amp;</td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#operator-eq">operator=</a></b>(const QBluetoothTransferRequest &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#operator-eq-eq">operator==</a></b>(const QBluetoothTransferRequest &amp;<i>other</i>) const</td></tr>
</table></div>
<a name="protected-variables"></a>
<h2 id="protected-variables">Protected Variables</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothTransferRequestPrivate *</td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#d_ptr-var">d_ptr</a></b></td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QBluetoothTransferRequest-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qbluetoothtransferrequest.html">QBluetoothTransferRequest</a> class stores information about a data transfer request.</p>
<p><a href="qbluetoothtransferrequest.html">QBluetoothTransferRequest</a> is part of the Bluetooth Transfer API and is the class holding the information necessary to initiate a transfer over Bluetooth.</p>
</div>
<p><b>See also </b><a href="qbluetoothtransferreply.html">QBluetoothTransferReply</a> and <a href="qbluetoothtransfermanager.html">QBluetoothTransferManager</a>.</p>
<!-- @@@QBluetoothTransferRequest -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Attribute$$$DescriptionAttribute$$$TimeAttribute$$$TypeAttribute$$$LengthAttribute$$$NameAttribute -->
<h3 class="fn" id="Attribute-enum"><a name="Attribute-enum"></a>enum QBluetoothTransferRequest::<span class="name">Attribute</span></h3>
<p>Attribute codes for <a href="qbluetoothtransferrequest.html">QBluetoothTransferRequest</a> and <a href="qbluetoothtransferreply.html">QBluetoothTransferReply</a>.</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>QBluetoothTransferRequest::DescriptionAttribute</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">A textual description of the object being transferred. May be displayed in the UI of the remote device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothTransferRequest::TimeAttribute</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Time attribute of the object being transferred.</td></tr>
<tr><td class="topAlign"><code>QBluetoothTransferRequest::TypeAttribute</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">MIME type of the object being transferred.</td></tr>
<tr><td class="topAlign"><code>QBluetoothTransferRequest::LengthAttribute</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Length in bytes of the object being transferred.</td></tr>
<tr><td class="topAlign"><code>QBluetoothTransferRequest::NameAttribute</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Name of the object being transferred. May be displayed in the UI of the remote device.</td></tr>
</table></div>
<!-- @@@Attribute -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QBluetoothTransferRequest[overload1]$$$QBluetoothTransferRequestconstQBluetoothAddress& -->
<h3 class="fn" id="QBluetoothTransferRequest"><a name="QBluetoothTransferRequest"></a>QBluetoothTransferRequest::<span class="name">QBluetoothTransferRequest</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>address</i> = QBluetoothAddress())</h3>
<p>Constructs a new Bluetooth transfer request to the device with <i>address</i>.</p>
<!-- @@@QBluetoothTransferRequest -->
<!-- $$$QBluetoothTransferRequest$$$QBluetoothTransferRequestconstQBluetoothTransferRequest& -->
<h3 class="fn" id="QBluetoothTransferRequest-1"><a name="QBluetoothTransferRequest-1"></a>QBluetoothTransferRequest::<span class="name">QBluetoothTransferRequest</span>(const <span class="type"><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a new Bluetooth transfer request that is a copy of <i>other</i>.</p>
<!-- @@@QBluetoothTransferRequest -->
<!-- $$$~QBluetoothTransferRequest[overload1]$$$~QBluetoothTransferRequest -->
<h3 class="fn" id="dtor.QBluetoothTransferRequest"><a name="dtor.QBluetoothTransferRequest"></a>QBluetoothTransferRequest::<span class="name">~QBluetoothTransferRequest</span>()</h3>
<p>Destorys the Bluetooth transfer request.</p>
<!-- @@@~QBluetoothTransferRequest -->
<!-- $$$address[overload1]$$$address -->
<h3 class="fn" id="address"><a name="address"></a><span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> QBluetoothTransferRequest::<span class="name">address</span>() const</h3>
<p>Returns the address associated with the Bluetooth transfer request.</p>
<!-- @@@address -->
<!-- $$$attribute[overload1]$$$attributeQBluetoothTransferRequest::AttributeconstQVariant& -->
<h3 class="fn" id="attribute"><a name="attribute"></a><span class="type">QVariant</span> QBluetoothTransferRequest::<span class="name">attribute</span>(<span class="type"><a href="qbluetoothtransferrequest.html#Attribute-enum">QBluetoothTransferRequest::Attribute</a></span> <i>code</i>, const <span class="type">QVariant</span> &amp;<i>defaultValue</i> = QVariant()) const</h3>
<p>Returns the attribute associated with <i>code</i>. If the attribute has not been set, it returns <i>defaultValue</i>.</p>
<p><b>See also </b><a href="qbluetoothtransferrequest.html#setAttribute">setAttribute</a>() and <a href="qbluetoothtransferrequest.html#Attribute-enum">QBluetoothTransferRequest::Attribute</a>.</p>
<!-- @@@attribute -->
<!-- $$$setAttribute[overload1]$$$setAttributeQBluetoothTransferRequest::AttributeconstQVariant& -->
<h3 class="fn" id="setAttribute"><a name="setAttribute"></a><span class="type">void</span> QBluetoothTransferRequest::<span class="name">setAttribute</span>(<span class="type"><a href="qbluetoothtransferrequest.html#Attribute-enum">QBluetoothTransferRequest::Attribute</a></span> <i>code</i>, const <span class="type">QVariant</span> &amp;<i>value</i>)</h3>
<p>Sets the attribute associated with <i>code</i> to <i>value</i>. If the attribute is already set, the previous value is discarded. If <i>value</i> is an invalid QVariant, the attribute is unset.</p>
<p><b>See also </b><a href="qbluetoothtransferrequest.html#attribute">attribute</a>() and <a href="qbluetoothtransferrequest.html#Attribute-enum">QBluetoothTransferRequest::Attribute</a>.</p>
<!-- @@@setAttribute -->
<!-- $$$operator!=[overload1]$$$operator!=constQBluetoothTransferRequest& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QBluetoothTransferRequest::<span class="name">operator!=</span>(const <span class="type"><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if this object is not the same as <i>other</i>.</p>
<p><b>See also </b><a href="qbluetoothtransferrequest.html#operator-eq-eq">operator==</a>().</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQBluetoothTransferRequest& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></span> &amp;QBluetoothTransferRequest::<span class="name">operator=</span>(const <span class="type"><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></span> &amp;<i>other</i>)</h3>
<p>Creates a copy of <i>other</i>.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQBluetoothTransferRequest& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QBluetoothTransferRequest::<span class="name">operator==</span>(const <span class="type"><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if this object is the same as <i>other</i>.</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>