Sophie

Sophie

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

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" />
<!-- qbluetooth.cpp -->
  <title>Qt Mobility 1.2: QBluetooth Namespace</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="namespaces.html">Namespaces</a></li>
<li>QBluetooth Namespace</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#types">Types</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QBluetooth Namespace</h1>
<!-- $$$QBluetooth-brief -->
<p>The QBluetooth namespace contains functions and definitions related to Bluetooth. <a href="#details">More...</a></p>
<!-- @@@QBluetooth -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QBluetooth&gt;</span></pre><p>This namespace was introduced in Qt Mobility 1.2.</p>
<ul>
</ul>
<a name="types"></a>
<h2>Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetooth.html#Security-enum">Security</a></b> { NoSecurity, Authorization, Authentication, Encryption, Secure }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qbluetooth.html#Security-enum">SecurityFlags</a></b></td></tr>
</table>
<a name="details"></a>
<!-- $$$QBluetooth-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QBluetooth namespace contains functions and definitions related to Bluetooth.</p>
</div>
<!-- @@@QBluetooth -->
<div class="types">
<h2>Type Documentation</h2>
<!-- $$$Security$$$NoSecurity$$$Authorization$$$Authentication$$$Encryption$$$Secure -->
<h3 class="flags"><a name="Security-enum"></a>enum QBluetooth::<span class="name">Security</span><br/>flags QBluetooth::<span class="name">SecurityFlags</span></h3>
<p>This enum describe the security requirements of a Bluetooth service.</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>QBluetooth::NoSecurity</tt></td><td class="topAlign"><tt>0x00</tt></td><td class="topAlign">The service does not require any security.</td></tr>
<tr><td class="topAlign"><tt>QBluetooth::Authorization</tt></td><td class="topAlign"><tt>0x01</tt></td><td class="topAlign">The service requires authorization. Device does not have to paired, the connection will be granted by prompting the user unless the device is Authorized-Paired where the connection will be made automatically.</td></tr>
<tr><td class="topAlign"><tt>QBluetooth::Authentication</tt></td><td class="topAlign"><tt>0x02</tt></td><td class="topAlign">The service requires authentication. Device must paired, the user maybe prompted on connection unless the device is Authorized-Paired.</td></tr>
<tr><td class="topAlign"><tt>QBluetooth::Encryption</tt></td><td class="topAlign"><tt>0x04</tt></td><td class="topAlign">The service requires that the communications link be encrypted. This requires the device be paired.</td></tr>
<tr><td class="topAlign"><tt>QBluetooth::Secure</tt></td><td class="topAlign"><tt>0x08</tt></td><td class="topAlign">The service requires that the communications link be secure. Legacy pairing is not permitted, Simple Pairing from Bluetooth 2.1 or greater is required.</td></tr>
</table>
<p>The SecurityFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;Security&gt;. It stores an OR combination of Security values.</p>
<!-- @@@Security -->
</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>