Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 630

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qbluetoothtransferrequest.cpp -->
  <title>Qt Mobility 1.2: QBluetoothTransferRequest Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtconnectivity.html">QtConnectivity</a></li>
<li>QBluetoothTransferRequest</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<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>
<h1 class="title">QBluetoothTransferRequest Class Reference</h1>
<!-- $$$QBluetoothTransferRequest-brief -->
<p>The QBluetoothTransferRequest class holds a request to be sent with <a href="qbluetoothtransfermanager.html">QBluetoothTransferManager</a>. <a href="#details">More...</a></p>
<!-- @@@QBluetoothTransferRequest -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QBluetoothTransferRequest&gt;</span></pre><p>This class was introduced in Qt Mobility 1.2.</p>
<ul>
<li><a href="qbluetoothtransferrequest-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<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>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<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> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothtransferrequest.html#QBluetoothTransferRequest-2">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> ( 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> ( 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>
<a name="details"></a>
<!-- $$$QBluetoothTransferRequest-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QBluetoothTransferRequest class holds a request to be sent with <a href="qbluetoothtransfermanager.html">QBluetoothTransferManager</a>.</p>
<p>QBluetoothTransferRequest 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"><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>
<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"><tt>QBluetoothTransferRequest::DescriptionAttribute</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">A textural description of the object being transferred. May be display in the UI of the remote device.</td></tr>
<tr><td class="topAlign"><tt>QBluetoothTransferRequest::TimeAttribute</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">Time attribute of the object being transferred.</td></tr>
<tr><td class="topAlign"><tt>QBluetoothTransferRequest::TypeAttribute</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">MIME type of the object being transferred.</td></tr>
<tr><td class="topAlign"><tt>QBluetoothTransferRequest::LengthAttribute</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Length in bytes of the object being transferred.</td></tr>
<tr><td class="topAlign"><tt>QBluetoothTransferRequest::NameAttribute</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">Name of the object being transferred. May be displayed in the UI of the remote device.</td></tr>
</table>
<!-- @@@Attribute -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QBluetoothTransferRequest[overload1]$$$QBluetoothTransferRequestconstQBluetoothAddress& -->
<h3 class="fn"><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> )</h3>
<p>Constructs a new Bluetooth transfer request to the device wit address <i>address</i>.</p>
<!-- @@@QBluetoothTransferRequest -->
<!-- $$$QBluetoothTransferRequest$$$QBluetoothTransferRequestconstQBluetoothTransferRequest& -->
<h3 class="fn"><a name="QBluetoothTransferRequest-2"></a>QBluetoothTransferRequest::<span class="name">QBluetoothTransferRequest</span> ( const <span class="type">QBluetoothTransferRequest</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"><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"><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"><a name="attribute"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/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="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span> &amp; <i>defaultValue</i> = QVariant() ) const</h3>
<p>Returns the attribute associated with code <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"><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="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span> &amp; <i>value</i> )</h3>
<p>Sets the attribute associated with code <i>code</i> to be value <i>value</i>. If the attribute is already set, the previous value is discarded. If <i>value</i> is an invalid <a href="http://qt.nokia.com/doc/4.7/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"><a name="operator-not-eq"></a><span class="type">bool</span> QBluetoothTransferRequest::<span class="name">operator!=</span> ( const <span class="type">QBluetoothTransferRequest</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"><a name="operator-eq"></a><span class="type">QBluetoothTransferRequest</span> &amp; QBluetoothTransferRequest::<span class="name">operator=</span> ( const <span class="type">QBluetoothTransferRequest</span> &amp; <i>other</i> )</h3>
<p>Creates a copy of <i>other</i>.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQBluetoothTransferRequest& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QBluetoothTransferRequest::<span class="name">operator==</span> ( const <span class="type">QBluetoothTransferRequest</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this object is the same as <i>other</i>.</p>
<!-- @@@operator== -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used 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.</p>
</div>
</body>
</html>