class_q_bt_device.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <title>QBluetoothZero: QBtDevice Class Reference</title>
  6. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  7. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  8. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="resize.js"></script>
  11. <script type="text/javascript" src="navtree.js"></script>
  12. <script type="text/javascript">
  13. $(document).ready(initResizable);
  14. </script>
  15. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  16. <script type="text/javascript" src="search/search.js"></script>
  17. <script type="text/javascript">
  18. $(document).ready(function() { searchBox.OnSelectItem(0); });
  19. </script>
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectlogo"><img alt="Logo" src="projecticonBlue.png"/></td>
  28. <td style="padding-left: 0.5em;">
  29. <div id="projectname">QBluetoothZero
  30. &#160;<span id="projectnumber">2.0</span>
  31. </div>
  32. </td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. </div>
  37. <!-- Generated by Doxygen 1.7.5.1 -->
  38. <script type="text/javascript">
  39. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  40. </script>
  41. <div id="navrow1" class="tabs">
  42. <ul class="tablist">
  43. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  44. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  45. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  46. <li><a href="files.html"><span>Files</span></a></li>
  47. <li>
  48. <div id="MSearchBox" class="MSearchBoxInactive">
  49. <span class="left">
  50. <img id="MSearchSelect" src="search/mag_sel.png"
  51. onmouseover="return searchBox.OnSearchSelectShow()"
  52. onmouseout="return searchBox.OnSearchSelectHide()"
  53. alt=""/>
  54. <input type="text" id="MSearchField" value="Search" accesskey="S"
  55. onfocus="searchBox.OnSearchFieldFocus(true)"
  56. onblur="searchBox.OnSearchFieldFocus(false)"
  57. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  58. </span><span class="right">
  59. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  60. </span>
  61. </div>
  62. </li>
  63. </ul>
  64. </div>
  65. <div id="navrow2" class="tabs2">
  66. <ul class="tablist">
  67. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  68. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  69. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  70. </ul>
  71. </div>
  72. </div>
  73. <div id="side-nav" class="ui-resizable side-nav-resizable">
  74. <div id="nav-tree">
  75. <div id="nav-tree-contents">
  76. </div>
  77. </div>
  78. <div id="splitbar" style="-moz-user-select:none;"
  79. class="ui-resizable-handle">
  80. </div>
  81. </div>
  82. <script type="text/javascript">
  83. initNavTree('class_q_bt_device.html','');
  84. </script>
  85. <div id="doc-content">
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#pub-types">Public Types</a> &#124;
  89. <a href="#signals">Signals</a> &#124;
  90. <a href="#pub-methods">Public Member Functions</a> &#124;
  91. <a href="#properties">Properties</a> </div>
  92. <div class="headertitle">
  93. <div class="title">QBtDevice Class Reference</div> </div>
  94. </div>
  95. <div class="contents">
  96. <!-- doxytag: class="QBtDevice" -->
  97. <p><code>#include &lt;<a class="el" href="_q_bt_device_8h_source.html">QBtDevice.h</a>&gt;</code></p>
  98. <p><a href="class_q_bt_device-members.html">List of all members.</a></p>
  99. <table class="memberdecls">
  100. <tr><td colspan="2"><h2><a name="pub-types"></a>
  101. Public Types</h2></td></tr>
  102. <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a> { <br/>
  103. &#160;&#160;<a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca6511d892c325c980e708f53f66b1ef9c">Uncategorized</a>,
  104. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48caab42591b2314a577a89ebb07919598cd">Computer</a>,
  105. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca4403226e62065907a54597dd5fa255e7">Phone</a>,
  106. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca1948f788ab831640b097498eabf17123">LANAccess</a>,
  107. <br/>
  108. &#160;&#160;<a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca5173d8bd7a8c3e71f6027a7ebdb5b843">AudioVideo</a>,
  109. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca054ce5febed14787c17f0ede0ceab8b2">Peripheral</a>,
  110. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca9c22fc38a10b638711da577cb61418da">Imaging</a>,
  111. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca077bc5f4fe453d764109efba292556d5">Wearable</a>,
  112. <br/>
  113. &#160;&#160;<a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca589f8f5963fa8e89e99f9b8d146f3597">Toy</a>,
  114. <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48ca44ebe28b972ad4d02f7b74caf2c7a114">Miscellaneous</a>
  115. <br/>
  116. }</td></tr>
  117. <tr><td class="memItemLeft" align="right" valign="top">typedef QList&lt; <a class="el" href="class_q_bt_device.html">QBtDevice</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a452b324eaf1003be3bc6a575fe0e9b3a">List</a></td></tr>
  118. <tr><td colspan="2"><h2><a name="signals"></a>
  119. Signals</h2></td></tr>
  120. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a094d970d7e37bdaa19e733f3721f618a">nameChanged</a> (QString newName)</td></tr>
  121. <tr><td colspan="2"><h2><a name="pub-methods"></a>
  122. Public Member Functions</h2></td></tr>
  123. <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a827b1a59e6be3e837fd0e2238d48a234">QBtDevice</a> (QObject *parent=0)</td></tr>
  124. <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a62d404e02c3e64cd557de3a48d745844">QBtDevice</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;dev, QObject *parent=0)</td></tr>
  125. <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a8b64644fe7f3823a7751f1a28427db4f">QBtDevice</a> (const QString &amp;devName, const <a class="el" href="class_q_bt_address.html">QBtAddress</a> &amp;devAddress, <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a> devType, QObject *parent=0)</td></tr>
  126. <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a4049878a23f508ef6f8d7e56797df019">~QBtDevice</a> ()</td></tr>
  127. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a2c4666f62517db0852b0f2e8361030b0">addNewService</a> (const <a class="el" href="class_q_bt_service.html">QBtService</a> &amp;newService)</td></tr>
  128. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a513096362bff61b580c0b51b9952711a">setName</a> (const QString &amp;newName)</td></tr>
  129. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a5cd697d3c1370f61052ba67dcd2570b7">setAddress</a> (const <a class="el" href="class_q_bt_address.html">QBtAddress</a> &amp;newAddress)</td></tr>
  130. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a02a1f2b0163cfaf8eb6377514dd5cbc0">setType</a> (<a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a> newType)</td></tr>
  131. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a54ead73584fd475fdc03539d4f81c94d">setSupportedServices</a> (const <a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> &amp;newSupportedServices)</td></tr>
  132. <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#abe63b2a79d31b13c9520eba445ece83d">serviceListUpdated</a> () const </td></tr>
  133. <tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a52d44166a95376fdf48508a125e9ad5e">name</a> () const </td></tr>
  134. <tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#aa54ecefd0e361dc6db02ef6a4f5c25ba">getName</a> () const </td></tr>
  135. <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_q_bt_address.html">QBtAddress</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a86745eec7b2747eb8e32e2f13c72396c">getAddress</a> () const </td></tr>
  136. <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a8e26143affb07d0a31e8f04befdf4a0c">getType</a> () const </td></tr>
  137. <tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a9189a11fa5a961a4763ddc8abddf371f">getTypeAsString</a> () const </td></tr>
  138. <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a911b394a91f594da472075a82f8075fa">getSupportedServices</a> () const </td></tr>
  139. <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#abb0b670457ec637ed9c53e9a5bae6cc5">operator=</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;dev)</td></tr>
  140. <tr><td colspan="2"><h2><a name="properties"></a>
  141. Properties</h2></td></tr>
  142. <tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a9ba6ea674c9d6444e62e6cdf58acc429">name</a></td></tr>
  143. <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_address.html">QBtAddress</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a5f8857b3c700fe7cfd1ff1fed7bca0ee">address</a></td></tr>
  144. <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device.html#a471a12c40c521faf83caec425ee1796c">type</a></td></tr>
  145. </table>
  146. <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
  147. <div class="textblock"><p>The class that contains all the information needed about any bluetooth device. Its main fields are 4.</p>
  148. <p>a) <a class="el" href="class_q_bt_address.html">QBtAddress</a> address: It is the device's bluetooth address. Any communication between remote devices is made using this field so it is an essential information. No communication can be done without this.</p>
  149. <p>b) QString name: The name of the device. By default this field is equal to <a class="el" href="class_q_bt_address.html#a4feaf057d75c10aed65167c96d2d7923">QBtAddress.toString()</a>. The actual name is retrieved from the device discovery and is set by the remote device as an identification string ID.</p>
  150. <p>c) DeviceMajor type: an enumeration field characterizing the device type.</p>
  151. <p>d) <a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> supportedServices: this field is updated after calling QBtServiceDiscoverer::startDiscovery(QBtDevice*) (if any services are found through SDP) </p>
  152. </div><hr/><h2>Member Typedef Documentation</h2>
  153. <a class="anchor" id="a452b324eaf1003be3bc6a575fe0e9b3a"></a><!-- doxytag: member="QBtDevice::List" ref="a452b324eaf1003be3bc6a575fe0e9b3a" args="" -->
  154. <div class="memitem">
  155. <div class="memproto">
  156. <table class="memname">
  157. <tr>
  158. <td class="memname">typedef QList&lt;<a class="el" href="class_q_bt_device.html">QBtDevice</a>&gt; <a class="el" href="class_q_bt_device.html#a452b324eaf1003be3bc6a575fe0e9b3a">QBtDevice::List</a></td>
  159. </tr>
  160. </table>
  161. </div>
  162. <div class="memdoc">
  163. </div>
  164. </div>
  165. <hr/><h2>Member Enumeration Documentation</h2>
  166. <a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48c"></a><!-- doxytag: member="QBtDevice::DeviceMajor" ref="ac162036dc05e6d1b469145bfed4fd48c" args="" -->
  167. <div class="memitem">
  168. <div class="memproto">
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">enum <a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">QBtDevice::DeviceMajor</a></td>
  172. </tr>
  173. </table>
  174. </div>
  175. <div class="memdoc">
  176. <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
  177. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca6511d892c325c980e708f53f66b1ef9c"></a><!-- doxytag: member="Uncategorized" ref="ac162036dc05e6d1b469145bfed4fd48ca6511d892c325c980e708f53f66b1ef9c" args="" -->Uncategorized</em>&nbsp;</td><td>
  178. </td></tr>
  179. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48caab42591b2314a577a89ebb07919598cd"></a><!-- doxytag: member="Computer" ref="ac162036dc05e6d1b469145bfed4fd48caab42591b2314a577a89ebb07919598cd" args="" -->Computer</em>&nbsp;</td><td>
  180. </td></tr>
  181. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca4403226e62065907a54597dd5fa255e7"></a><!-- doxytag: member="Phone" ref="ac162036dc05e6d1b469145bfed4fd48ca4403226e62065907a54597dd5fa255e7" args="" -->Phone</em>&nbsp;</td><td>
  182. </td></tr>
  183. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca1948f788ab831640b097498eabf17123"></a><!-- doxytag: member="LANAccess" ref="ac162036dc05e6d1b469145bfed4fd48ca1948f788ab831640b097498eabf17123" args="" -->LANAccess</em>&nbsp;</td><td>
  184. </td></tr>
  185. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca5173d8bd7a8c3e71f6027a7ebdb5b843"></a><!-- doxytag: member="AudioVideo" ref="ac162036dc05e6d1b469145bfed4fd48ca5173d8bd7a8c3e71f6027a7ebdb5b843" args="" -->AudioVideo</em>&nbsp;</td><td>
  186. </td></tr>
  187. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca054ce5febed14787c17f0ede0ceab8b2"></a><!-- doxytag: member="Peripheral" ref="ac162036dc05e6d1b469145bfed4fd48ca054ce5febed14787c17f0ede0ceab8b2" args="" -->Peripheral</em>&nbsp;</td><td>
  188. </td></tr>
  189. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca9c22fc38a10b638711da577cb61418da"></a><!-- doxytag: member="Imaging" ref="ac162036dc05e6d1b469145bfed4fd48ca9c22fc38a10b638711da577cb61418da" args="" -->Imaging</em>&nbsp;</td><td>
  190. </td></tr>
  191. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca077bc5f4fe453d764109efba292556d5"></a><!-- doxytag: member="Wearable" ref="ac162036dc05e6d1b469145bfed4fd48ca077bc5f4fe453d764109efba292556d5" args="" -->Wearable</em>&nbsp;</td><td>
  192. </td></tr>
  193. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca589f8f5963fa8e89e99f9b8d146f3597"></a><!-- doxytag: member="Toy" ref="ac162036dc05e6d1b469145bfed4fd48ca589f8f5963fa8e89e99f9b8d146f3597" args="" -->Toy</em>&nbsp;</td><td>
  194. </td></tr>
  195. <tr><td valign="top"><em><a class="anchor" id="ac162036dc05e6d1b469145bfed4fd48ca44ebe28b972ad4d02f7b74caf2c7a114"></a><!-- doxytag: member="Miscellaneous" ref="ac162036dc05e6d1b469145bfed4fd48ca44ebe28b972ad4d02f7b74caf2c7a114" args="" -->Miscellaneous</em>&nbsp;</td><td>
  196. </td></tr>
  197. </table>
  198. </dd>
  199. </dl>
  200. </div>
  201. </div>
  202. <hr/><h2>Constructor &amp; Destructor Documentation</h2>
  203. <a class="anchor" id="a827b1a59e6be3e837fd0e2238d48a234"></a><!-- doxytag: member="QBtDevice::QBtDevice" ref="a827b1a59e6be3e837fd0e2238d48a234" args="(QObject *parent=0)" -->
  204. <div class="memitem">
  205. <div class="memproto">
  206. <table class="memname">
  207. <tr>
  208. <td class="memname">QBtDevice::QBtDevice </td>
  209. <td>(</td>
  210. <td class="paramtype">QObject *&#160;</td>
  211. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  212. <td></td>
  213. </tr>
  214. </table>
  215. </div>
  216. <div class="memdoc">
  217. </div>
  218. </div>
  219. <a class="anchor" id="a62d404e02c3e64cd557de3a48d745844"></a><!-- doxytag: member="QBtDevice::QBtDevice" ref="a62d404e02c3e64cd557de3a48d745844" args="(const QBtDevice &amp;dev, QObject *parent=0)" -->
  220. <div class="memitem">
  221. <div class="memproto">
  222. <table class="memname">
  223. <tr>
  224. <td class="memname">QBtDevice::QBtDevice </td>
  225. <td>(</td>
  226. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  227. <td class="paramname"><em>dev</em>, </td>
  228. </tr>
  229. <tr>
  230. <td class="paramkey"></td>
  231. <td></td>
  232. <td class="paramtype">QObject *&#160;</td>
  233. <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
  234. </tr>
  235. <tr>
  236. <td></td>
  237. <td>)</td>
  238. <td></td><td></td>
  239. </tr>
  240. </table>
  241. </div>
  242. <div class="memdoc">
  243. <p>Copy constructor is needed by the QMetaType to register this custom class </p>
  244. </div>
  245. </div>
  246. <a class="anchor" id="a8b64644fe7f3823a7751f1a28427db4f"></a><!-- doxytag: member="QBtDevice::QBtDevice" ref="a8b64644fe7f3823a7751f1a28427db4f" args="(const QString &amp;devName, const QBtAddress &amp;devAddress, DeviceMajor devType, QObject *parent=0)" -->
  247. <div class="memitem">
  248. <div class="memproto">
  249. <table class="memname">
  250. <tr>
  251. <td class="memname">QBtDevice::QBtDevice </td>
  252. <td>(</td>
  253. <td class="paramtype">const QString &amp;&#160;</td>
  254. <td class="paramname"><em>devName</em>, </td>
  255. </tr>
  256. <tr>
  257. <td class="paramkey"></td>
  258. <td></td>
  259. <td class="paramtype">const <a class="el" href="class_q_bt_address.html">QBtAddress</a> &amp;&#160;</td>
  260. <td class="paramname"><em>devAddress</em>, </td>
  261. </tr>
  262. <tr>
  263. <td class="paramkey"></td>
  264. <td></td>
  265. <td class="paramtype"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a>&#160;</td>
  266. <td class="paramname"><em>devType</em>, </td>
  267. </tr>
  268. <tr>
  269. <td class="paramkey"></td>
  270. <td></td>
  271. <td class="paramtype">QObject *&#160;</td>
  272. <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
  273. </tr>
  274. <tr>
  275. <td></td>
  276. <td>)</td>
  277. <td></td><td></td>
  278. </tr>
  279. </table>
  280. </div>
  281. <div class="memdoc">
  282. </div>
  283. </div>
  284. <a class="anchor" id="a4049878a23f508ef6f8d7e56797df019"></a><!-- doxytag: member="QBtDevice::~QBtDevice" ref="a4049878a23f508ef6f8d7e56797df019" args="()" -->
  285. <div class="memitem">
  286. <div class="memproto">
  287. <table class="memname">
  288. <tr>
  289. <td class="memname">QBtDevice::~QBtDevice </td>
  290. <td>(</td>
  291. <td class="paramname"></td><td>)</td>
  292. <td></td>
  293. </tr>
  294. </table>
  295. </div>
  296. <div class="memdoc">
  297. </div>
  298. </div>
  299. <hr/><h2>Member Function Documentation</h2>
  300. <a class="anchor" id="a2c4666f62517db0852b0f2e8361030b0"></a><!-- doxytag: member="QBtDevice::addNewService" ref="a2c4666f62517db0852b0f2e8361030b0" args="(const QBtService &amp;newService)" -->
  301. <div class="memitem">
  302. <div class="memproto">
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">void QBtDevice::addNewService </td>
  306. <td>(</td>
  307. <td class="paramtype">const <a class="el" href="class_q_bt_service.html">QBtService</a> &amp;&#160;</td>
  308. <td class="paramname"><em>newService</em></td><td>)</td>
  309. <td></td>
  310. </tr>
  311. </table>
  312. </div>
  313. <div class="memdoc">
  314. </div>
  315. </div>
  316. <a class="anchor" id="a86745eec7b2747eb8e32e2f13c72396c"></a><!-- doxytag: member="QBtDevice::getAddress" ref="a86745eec7b2747eb8e32e2f13c72396c" args="() const " -->
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="memname">
  320. <tr>
  321. <td class="memname">const <a class="el" href="class_q_bt_address.html">QBtAddress</a>&amp; QBtDevice::getAddress </td>
  322. <td>(</td>
  323. <td class="paramname"></td><td>)</td>
  324. <td> const</td>
  325. </tr>
  326. </table>
  327. </div>
  328. <div class="memdoc">
  329. </div>
  330. </div>
  331. <a class="anchor" id="aa54ecefd0e361dc6db02ef6a4f5c25ba"></a><!-- doxytag: member="QBtDevice::getName" ref="aa54ecefd0e361dc6db02ef6a4f5c25ba" args="() const " -->
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="memname">
  335. <tr>
  336. <td class="memname">Q_INVOKABLE QString QBtDevice::getName </td>
  337. <td>(</td>
  338. <td class="paramname"></td><td>)</td>
  339. <td> const</td>
  340. </tr>
  341. </table>
  342. </div>
  343. <div class="memdoc">
  344. </div>
  345. </div>
  346. <a class="anchor" id="a911b394a91f594da472075a82f8075fa"></a><!-- doxytag: member="QBtDevice::getSupportedServices" ref="a911b394a91f594da472075a82f8075fa" args="() const " -->
  347. <div class="memitem">
  348. <div class="memproto">
  349. <table class="memname">
  350. <tr>
  351. <td class="memname">const <a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a>&amp; QBtDevice::getSupportedServices </td>
  352. <td>(</td>
  353. <td class="paramname"></td><td>)</td>
  354. <td> const</td>
  355. </tr>
  356. </table>
  357. </div>
  358. <div class="memdoc">
  359. </div>
  360. </div>
  361. <a class="anchor" id="a8e26143affb07d0a31e8f04befdf4a0c"></a><!-- doxytag: member="QBtDevice::getType" ref="a8e26143affb07d0a31e8f04befdf4a0c" args="() const " -->
  362. <div class="memitem">
  363. <div class="memproto">
  364. <table class="memname">
  365. <tr>
  366. <td class="memname"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a> QBtDevice::getType </td>
  367. <td>(</td>
  368. <td class="paramname"></td><td>)</td>
  369. <td> const</td>
  370. </tr>
  371. </table>
  372. </div>
  373. <div class="memdoc">
  374. </div>
  375. </div>
  376. <a class="anchor" id="a9189a11fa5a961a4763ddc8abddf371f"></a><!-- doxytag: member="QBtDevice::getTypeAsString" ref="a9189a11fa5a961a4763ddc8abddf371f" args="() const " -->
  377. <div class="memitem">
  378. <div class="memproto">
  379. <table class="memname">
  380. <tr>
  381. <td class="memname">QString QBtDevice::getTypeAsString </td>
  382. <td>(</td>
  383. <td class="paramname"></td><td>)</td>
  384. <td> const</td>
  385. </tr>
  386. </table>
  387. </div>
  388. <div class="memdoc">
  389. </div>
  390. </div>
  391. <a class="anchor" id="a52d44166a95376fdf48508a125e9ad5e"></a><!-- doxytag: member="QBtDevice::name" ref="a52d44166a95376fdf48508a125e9ad5e" args="() const " -->
  392. <div class="memitem">
  393. <div class="memproto">
  394. <table class="memname">
  395. <tr>
  396. <td class="memname">Q_INVOKABLE QString QBtDevice::name </td>
  397. <td>(</td>
  398. <td class="paramname"></td><td>)</td>
  399. <td> const</td>
  400. </tr>
  401. </table>
  402. </div>
  403. <div class="memdoc">
  404. </div>
  405. </div>
  406. <a class="anchor" id="a094d970d7e37bdaa19e733f3721f618a"></a><!-- doxytag: member="QBtDevice::nameChanged" ref="a094d970d7e37bdaa19e733f3721f618a" args="(QString newName)" -->
  407. <div class="memitem">
  408. <div class="memproto">
  409. <table class="memname">
  410. <tr>
  411. <td class="memname">void QBtDevice::nameChanged </td>
  412. <td>(</td>
  413. <td class="paramtype">QString&#160;</td>
  414. <td class="paramname"><em>newName</em></td><td>)</td>
  415. <td><code> [signal]</code></td>
  416. </tr>
  417. </table>
  418. </div>
  419. <div class="memdoc">
  420. </div>
  421. </div>
  422. <a class="anchor" id="abb0b670457ec637ed9c53e9a5bae6cc5"></a><!-- doxytag: member="QBtDevice::operator=" ref="abb0b670457ec637ed9c53e9a5bae6cc5" args="(const QBtDevice &amp;dev)" -->
  423. <div class="memitem">
  424. <div class="memproto">
  425. <table class="memname">
  426. <tr>
  427. <td class="memname"><a class="el" href="class_q_bt_device.html">QBtDevice</a>&amp; QBtDevice::operator= </td>
  428. <td>(</td>
  429. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  430. <td class="paramname"><em>dev</em></td><td>)</td>
  431. <td></td>
  432. </tr>
  433. </table>
  434. </div>
  435. <div class="memdoc">
  436. </div>
  437. </div>
  438. <a class="anchor" id="abe63b2a79d31b13c9520eba445ece83d"></a><!-- doxytag: member="QBtDevice::serviceListUpdated" ref="abe63b2a79d31b13c9520eba445ece83d" args="() const " -->
  439. <div class="memitem">
  440. <div class="memproto">
  441. <table class="memname">
  442. <tr>
  443. <td class="memname">bool QBtDevice::serviceListUpdated </td>
  444. <td>(</td>
  445. <td class="paramname"></td><td>)</td>
  446. <td> const</td>
  447. </tr>
  448. </table>
  449. </div>
  450. <div class="memdoc">
  451. </div>
  452. </div>
  453. <a class="anchor" id="a5cd697d3c1370f61052ba67dcd2570b7"></a><!-- doxytag: member="QBtDevice::setAddress" ref="a5cd697d3c1370f61052ba67dcd2570b7" args="(const QBtAddress &amp;newAddress)" -->
  454. <div class="memitem">
  455. <div class="memproto">
  456. <table class="memname">
  457. <tr>
  458. <td class="memname">void QBtDevice::setAddress </td>
  459. <td>(</td>
  460. <td class="paramtype">const <a class="el" href="class_q_bt_address.html">QBtAddress</a> &amp;&#160;</td>
  461. <td class="paramname"><em>newAddress</em></td><td>)</td>
  462. <td></td>
  463. </tr>
  464. </table>
  465. </div>
  466. <div class="memdoc">
  467. </div>
  468. </div>
  469. <a class="anchor" id="a513096362bff61b580c0b51b9952711a"></a><!-- doxytag: member="QBtDevice::setName" ref="a513096362bff61b580c0b51b9952711a" args="(const QString &amp;newName)" -->
  470. <div class="memitem">
  471. <div class="memproto">
  472. <table class="memname">
  473. <tr>
  474. <td class="memname">void QBtDevice::setName </td>
  475. <td>(</td>
  476. <td class="paramtype">const QString &amp;&#160;</td>
  477. <td class="paramname"><em>newName</em></td><td>)</td>
  478. <td></td>
  479. </tr>
  480. </table>
  481. </div>
  482. <div class="memdoc">
  483. </div>
  484. </div>
  485. <a class="anchor" id="a54ead73584fd475fdc03539d4f81c94d"></a><!-- doxytag: member="QBtDevice::setSupportedServices" ref="a54ead73584fd475fdc03539d4f81c94d" args="(const QBtService::List &amp;newSupportedServices)" -->
  486. <div class="memitem">
  487. <div class="memproto">
  488. <table class="memname">
  489. <tr>
  490. <td class="memname">void QBtDevice::setSupportedServices </td>
  491. <td>(</td>
  492. <td class="paramtype">const <a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> &amp;&#160;</td>
  493. <td class="paramname"><em>newSupportedServices</em></td><td>)</td>
  494. <td></td>
  495. </tr>
  496. </table>
  497. </div>
  498. <div class="memdoc">
  499. </div>
  500. </div>
  501. <a class="anchor" id="a02a1f2b0163cfaf8eb6377514dd5cbc0"></a><!-- doxytag: member="QBtDevice::setType" ref="a02a1f2b0163cfaf8eb6377514dd5cbc0" args="(DeviceMajor newType)" -->
  502. <div class="memitem">
  503. <div class="memproto">
  504. <table class="memname">
  505. <tr>
  506. <td class="memname">void QBtDevice::setType </td>
  507. <td>(</td>
  508. <td class="paramtype"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a>&#160;</td>
  509. <td class="paramname"><em>newType</em></td><td>)</td>
  510. <td></td>
  511. </tr>
  512. </table>
  513. </div>
  514. <div class="memdoc">
  515. </div>
  516. </div>
  517. <hr/><h2>Property Documentation</h2>
  518. <a class="anchor" id="a5f8857b3c700fe7cfd1ff1fed7bca0ee"></a><!-- doxytag: member="QBtDevice::address" ref="a5f8857b3c700fe7cfd1ff1fed7bca0ee" args="" -->
  519. <div class="memitem">
  520. <div class="memproto">
  521. <table class="memname">
  522. <tr>
  523. <td class="memname"><a class="el" href="class_q_bt_address.html">QBtAddress</a> QBtDevice::address<code> [read, write]</code></td>
  524. </tr>
  525. </table>
  526. </div>
  527. <div class="memdoc">
  528. </div>
  529. </div>
  530. <a class="anchor" id="a9ba6ea674c9d6444e62e6cdf58acc429"></a><!-- doxytag: member="QBtDevice::name" ref="a9ba6ea674c9d6444e62e6cdf58acc429" args="" -->
  531. <div class="memitem">
  532. <div class="memproto">
  533. <table class="memname">
  534. <tr>
  535. <td class="memname">QString QBtDevice::name<code> [read, write]</code></td>
  536. </tr>
  537. </table>
  538. </div>
  539. <div class="memdoc">
  540. </div>
  541. </div>
  542. <a class="anchor" id="a471a12c40c521faf83caec425ee1796c"></a><!-- doxytag: member="QBtDevice::type" ref="a471a12c40c521faf83caec425ee1796c" args="" -->
  543. <div class="memitem">
  544. <div class="memproto">
  545. <table class="memname">
  546. <tr>
  547. <td class="memname"><a class="el" href="class_q_bt_device.html#ac162036dc05e6d1b469145bfed4fd48c">DeviceMajor</a> QBtDevice::type<code> [read, write]</code></td>
  548. </tr>
  549. </table>
  550. </div>
  551. <div class="memdoc">
  552. </div>
  553. </div>
  554. <hr/>The documentation for this class was generated from the following file:<ul>
  555. <li><a class="el" href="_q_bt_device_8h_source.html">QBtDevice.h</a></li>
  556. </ul>
  557. </div>
  558. </div>
  559. <div id="nav-path" class="navpath">
  560. <ul>
  561. <li class="navelem"><a class="el" href="class_q_bt_device.html">QBtDevice</a> </li>
  562. <!-- window showing the filter options -->
  563. <div id="MSearchSelectWindow"
  564. onmouseover="return searchBox.OnSearchSelectShow()"
  565. onmouseout="return searchBox.OnSearchSelectHide()"
  566. onkeydown="return searchBox.OnSearchSelectKey(event)">
  567. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  568. <!-- iframe showing the search results (closed by default) -->
  569. <div id="MSearchResultsWindow">
  570. <iframe src="javascript:void(0)" frameborder="0"
  571. name="MSearchResults" id="MSearchResults">
  572. </iframe>
  573. </div>
  574. <li class="footer">Generated on Wed Jan 4 2012 21:05:39 for QBluetoothZero by
  575. <a href="http://www.doxygen.org/index.html">
  576. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
  577. </ul>
  578. </div>
  579. </body>
  580. </html>