/usr/share/qt5/doc/qtbluetooth/qbluetoothtransferrequest.html is in qtconnectivity5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | <?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.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="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">Qt 5.9.5 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-types">Public Types</a></li>
<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">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 <QBluetoothTransferRequest></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 &<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 &<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>(Attribute <i>code</i>, const QVariant &<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>(Attribute <i>code</i>, const QVariant &<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 &<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothTransferRequest &</td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#operator-eq">operator=</a></b>(const QBluetoothTransferRequest &<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 &<i>other</i>) const</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> &<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> &<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]$$$attributeAttributeconstQVariant& -->
<h3 class="fn" id="attribute"><a name="attribute"></a><span class="type"><a href="../qtcore/qvariant.html">QVariant</a></span> QBluetoothTransferRequest::<span class="name">attribute</span>(<span class="type"><a href="qbluetoothtransferrequest.html#Attribute-enum">Attribute</a></span> <i>code</i>, const <span class="type"><a href="../qtcore/qvariant.html">QVariant</a></span> &<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]$$$setAttributeAttributeconstQVariant& -->
<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">Attribute</a></span> <i>code</i>, const <span class="type"><a href="../qtcore/qvariant.html">QVariant</a></span> &<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 <a href="../qtcore/qvariant.html">QVariant</a>, 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> &<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> &QBluetoothTransferRequest::<span class="name">operator=</span>(const <span class="type"><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest">QBluetoothTransferRequest</a></span> &<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> &<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">©</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>
|