Sophie

Sophie

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

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" />
<!-- qdeclarativebluetoothservice.cpp -->
  <title>Qt Mobility 1.2: QML BluetoothService Element</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="http://qt.nokia.com/doc/4.7/qdeclarativeelements.html">QML Elements</a></li>
<li>QML BluetoothService Element</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QML BluetoothService Element</h1>
<span class="subtitle"></span>
<!-- $$$BluetoothService-brief -->
<p>The BluetoothService element contains all the information available for a single bluetooth service.. <a href="#details">More...</a></p>
<!-- @@@BluetoothService -->
<p>This element was introduced in  Mobility 1.2.</p>
<ul>
<li><a href="qml-bluetoothservice-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#deviceAddress-prop">deviceAddress</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#deviceName-prop">deviceName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#registered-prop">registered</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#serviceDescription-prop">serviceDescription</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#serviceName-prop">serviceName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#servicePort-prop">servicePort</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#serviceProtocol-prop">serviceProtocol</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-bluetoothservice.html#serviceUuid-prop">serviceUuid</a></b></b> : string</li>
</ul>
<!-- $$$BluetoothService-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The BluetoothService element is part of the <b>QtMobility.connectivity 1.2</b> module.</p>
<p>It allows a QML project to get information about a remote service, or describe a service for a <a href="qml-bluetoothsocket.html">BluetoothSocket</a> to connect to.</p>
<p><b>See also </b><a href="qbluetoothaddress.html">QBluetoothAddress</a> and <a href="qbluetoothsocket.html">QBluetoothSocket</a>.</p>
<!-- @@@BluetoothService -->
<h2>Property Documentation</h2>
<!-- $$$deviceAddress -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="deviceAddress-prop"></a><span class="name">deviceAddress</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the remote device MAc address. Must be valid if you to connect to a remote device with a <a href="qml-bluetoothsocket.html">BluetoothSocket</a>.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@deviceAddress -->
<br/>
<!-- $$$deviceName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="deviceName-prop"></a><span class="qmlreadonly">read-only</span><span class="name">deviceName</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the name of the remote device.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@deviceName -->
<br/>
<!-- $$$registered -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="registered-prop"></a><span class="name">registered</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the registration/publication status of the service. If true the service is published via service discovery. Not implemented in 1.2&#x2e;</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@registered -->
<br/>
<!-- $$$serviceDescription -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="serviceDescription-prop"></a><span class="name">serviceDescription</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the description provided by the remote service.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@serviceDescription -->
<br/>
<!-- $$$serviceName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="serviceName-prop"></a><span class="name">serviceName</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the name of the remote service if available.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@serviceName -->
<br/>
<!-- $$$servicePort -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="servicePort-prop"></a><span class="name">servicePort</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the port value for the remote service. Bluetooth does not use well defined port values, so port values should not be stored and used later without care. Connecting via UUID is much more consistent.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@servicePort -->
<br/>
<!-- $$$serviceProtocol -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="serviceProtocol-prop"></a><span class="name">serviceProtocol</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the protocol used for the service. Can be the string &quot;l2cap&quot; or &quot;rfcomm&quot;</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@serviceProtocol -->
<br/>
<!-- $$$serviceUuid -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="serviceUuid-prop"></a><span class="name">serviceUuid</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the UUID of the remote service. Service UUID or port, as well as the address must be set to connect to a remote service. If UUID and port are set, the port is used. The UUID takes longer to connect since service discovery must be initiated to discover the port value.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@serviceUuid -->
<br/>
  <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>