class_q_bt_device_discoverer.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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: QBtDeviceDiscoverer 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_discoverer.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="#pub-slots">Public Slots</a> &#124;
  90. <a href="#signals">Signals</a> &#124;
  91. <a href="#pub-methods">Public Member Functions</a> &#124;
  92. <a href="#friends">Friends</a> </div>
  93. <div class="headertitle">
  94. <div class="title">QBtDeviceDiscoverer Class Reference</div> </div>
  95. </div>
  96. <div class="contents">
  97. <!-- doxytag: class="QBtDeviceDiscoverer" -->
  98. <p><code>#include &lt;<a class="el" href="_q_bt_device_discoverer_8h_source.html">QBtDeviceDiscoverer.h</a>&gt;</code></p>
  99. <p><a href="class_q_bt_device_discoverer-members.html">List of all members.</a></p>
  100. <table class="memberdecls">
  101. <tr><td colspan="2"><h2><a name="pub-types"></a>
  102. Public Types</h2></td></tr>
  103. <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4">DeviceDiscoveryErrors</a> { <br/>
  104. &#160;&#160;<a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4ae119eed04fa170ae4dcec53e8d11679a">BluetoothNotSupported</a>,
  105. <a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4a181dfd18dc708eb484fbef7fdb0db215">BluetoothInUse</a>,
  106. <a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4adc0348711e6679c24a7f11f468b7670f">BluetoothAlreadyStopped</a>,
  107. <a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4a89c310a23f7759c0cb3b92826ce836cb">BluetoothNotReady</a>,
  108. <br/>
  109. &#160;&#160;<a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4a0a0835251e2f95d08ba56bbf1f60a2b5">DiscoveryCancelled</a>,
  110. <a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4a717c0837d4976574f9afab038ab431bb">UnknownError</a>
  111. <br/>
  112. }</td></tr>
  113. <tr><td colspan="2"><h2><a name="pub-slots"></a>
  114. Public Slots</h2></td></tr>
  115. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a76e9223d3b2330c1c26c94bee5a1ae5f">startDiscovery</a> ()</td></tr>
  116. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a8722f22bd1309044cd483c105499fb42">stopDiscovery</a> ()</td></tr>
  117. <tr><td colspan="2"><h2><a name="signals"></a>
  118. Signals</h2></td></tr>
  119. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#abdb7b28090a017f71b6d31d6d1ddcbfa">newDeviceFound</a> (<a class="el" href="class_q_bt_device.html">QBtDevice</a> remoteDevice)</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_discoverer.html#a0a699a55233e3d2da26e764bd0437d23">discoveryStopped</a> ()</td></tr>
  121. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#ae5005eee0f36cab45bb63460ba30a5ac">discoveryStarted</a> ()</td></tr>
  122. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a35a495f04812b32978db124f0c06b9a6">error</a> (<a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4">QBtDeviceDiscoverer::DeviceDiscoveryErrors</a> error)</td></tr>
  123. <tr><td colspan="2"><h2><a name="pub-methods"></a>
  124. Public Member Functions</h2></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_discoverer.html#acef79fa266c523046dbe1ab8a5b986ac">QBtDeviceDiscoverer</a> (QObject *parent=0)</td></tr>
  126. <tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a5033b0e32f704590973cbf7d5bb67242">~QBtDeviceDiscoverer</a> ()</td></tr>
  127. <tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE const <a class="el" href="class_q_bt_device.html#a452b324eaf1003be3bc6a575fe0e9b3a">QBtDevice::List</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a787dc94623eb4928541b121552877d0f">getInquiredDevices</a> () const </td></tr>
  128. <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#aac15fc3318975512d66cc69528509b8d">isBusy</a> () const </td></tr>
  129. <tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#ad48feb093b8704bf0e2b46faa3a857b4">emitDummySignalTest</a> ()</td></tr>
  130. <tr><td colspan="2"><h2><a name="friends"></a>
  131. Friends</h2></td></tr>
  132. <tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_device_discoverer.html#a3e9cc1dea4338114eb897ae6f641c2d4">QBtDeviceDiscovererPrivate</a></td></tr>
  133. </table>
  134. <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
  135. <div class="textblock"><p>Class that contains the mechanism of the device discovery. After instantiation, user can call <a class="el" href="class_q_bt_device_discoverer.html#a76e9223d3b2330c1c26c94bee5a1ae5f">startDiscovery()</a> to begin the discovery. If calling <a class="el" href="class_q_bt_device_discoverer.html#a76e9223d3b2330c1c26c94bee5a1ae5f">startDiscovery()</a> is successfull then <a class="el" href="class_q_bt_device_discoverer.html#ae5005eee0f36cab45bb63460ba30a5ac">discoveryStarted()</a> signal is emitted. Any found device is reported through <a class="el" href="class_q_bt_device_discoverer.html#abdb7b28090a017f71b6d31d6d1ddcbfa">newDeviceFound(QBtDevice)</a> signal or can be retrieved calling GetInquiredDevices() which returns a list of all the found devices till now. When discovery stops, <a class="el" href="class_q_bt_device_discoverer.html#a0a699a55233e3d2da26e764bd0437d23">discoveryStopped()</a> signal is emitted.</p>
  136. <p>Incase of any errors, the are reported through <a class="el" href="class_q_bt_device_discoverer.html#a35a495f04812b32978db124f0c06b9a6">error(QBtDeviceDiscoverer::DeviceDiscoveryErrors)</a> signal. </p>
  137. </div><hr/><h2>Member Enumeration Documentation</h2>
  138. <a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4"></a><!-- doxytag: member="QBtDeviceDiscoverer::DeviceDiscoveryErrors" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4" args="" -->
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="memname">
  142. <tr>
  143. <td class="memname">enum <a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4">QBtDeviceDiscoverer::DeviceDiscoveryErrors</a></td>
  144. </tr>
  145. </table>
  146. </div>
  147. <div class="memdoc">
  148. <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
  149. <tr><td valign="top"><em><a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4ae119eed04fa170ae4dcec53e8d11679a"></a><!-- doxytag: member="BluetoothNotSupported" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4ae119eed04fa170ae4dcec53e8d11679a" args="" -->BluetoothNotSupported</em>&nbsp;</td><td>
  150. </td></tr>
  151. <tr><td valign="top"><em><a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4a181dfd18dc708eb484fbef7fdb0db215"></a><!-- doxytag: member="BluetoothInUse" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4a181dfd18dc708eb484fbef7fdb0db215" args="" -->BluetoothInUse</em>&nbsp;</td><td>
  152. </td></tr>
  153. <tr><td valign="top"><em><a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4adc0348711e6679c24a7f11f468b7670f"></a><!-- doxytag: member="BluetoothAlreadyStopped" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4adc0348711e6679c24a7f11f468b7670f" args="" -->BluetoothAlreadyStopped</em>&nbsp;</td><td>
  154. </td></tr>
  155. <tr><td valign="top"><em><a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4a89c310a23f7759c0cb3b92826ce836cb"></a><!-- doxytag: member="BluetoothNotReady" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4a89c310a23f7759c0cb3b92826ce836cb" args="" -->BluetoothNotReady</em>&nbsp;</td><td>
  156. </td></tr>
  157. <tr><td valign="top"><em><a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4a0a0835251e2f95d08ba56bbf1f60a2b5"></a><!-- doxytag: member="DiscoveryCancelled" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4a0a0835251e2f95d08ba56bbf1f60a2b5" args="" -->DiscoveryCancelled</em>&nbsp;</td><td>
  158. </td></tr>
  159. <tr><td valign="top"><em><a class="anchor" id="a0a9c81a42cd96e781ee7b12cb3a2e6f4a717c0837d4976574f9afab038ab431bb"></a><!-- doxytag: member="UnknownError" ref="a0a9c81a42cd96e781ee7b12cb3a2e6f4a717c0837d4976574f9afab038ab431bb" args="" -->UnknownError</em>&nbsp;</td><td>
  160. </td></tr>
  161. </table>
  162. </dd>
  163. </dl>
  164. </div>
  165. </div>
  166. <hr/><h2>Constructor &amp; Destructor Documentation</h2>
  167. <a class="anchor" id="acef79fa266c523046dbe1ab8a5b986ac"></a><!-- doxytag: member="QBtDeviceDiscoverer::QBtDeviceDiscoverer" ref="acef79fa266c523046dbe1ab8a5b986ac" args="(QObject *parent=0)" -->
  168. <div class="memitem">
  169. <div class="memproto">
  170. <table class="memname">
  171. <tr>
  172. <td class="memname">QBtDeviceDiscoverer::QBtDeviceDiscoverer </td>
  173. <td>(</td>
  174. <td class="paramtype">QObject *&#160;</td>
  175. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  176. <td></td>
  177. </tr>
  178. </table>
  179. </div>
  180. <div class="memdoc">
  181. </div>
  182. </div>
  183. <a class="anchor" id="a5033b0e32f704590973cbf7d5bb67242"></a><!-- doxytag: member="QBtDeviceDiscoverer::~QBtDeviceDiscoverer" ref="a5033b0e32f704590973cbf7d5bb67242" args="()" -->
  184. <div class="memitem">
  185. <div class="memproto">
  186. <table class="memname">
  187. <tr>
  188. <td class="memname">virtual QBtDeviceDiscoverer::~QBtDeviceDiscoverer </td>
  189. <td>(</td>
  190. <td class="paramname"></td><td>)</td>
  191. <td><code> [virtual]</code></td>
  192. </tr>
  193. </table>
  194. </div>
  195. <div class="memdoc">
  196. </div>
  197. </div>
  198. <hr/><h2>Member Function Documentation</h2>
  199. <a class="anchor" id="ae5005eee0f36cab45bb63460ba30a5ac"></a><!-- doxytag: member="QBtDeviceDiscoverer::discoveryStarted" ref="ae5005eee0f36cab45bb63460ba30a5ac" args="()" -->
  200. <div class="memitem">
  201. <div class="memproto">
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">void QBtDeviceDiscoverer::discoveryStarted </td>
  205. <td>(</td>
  206. <td class="paramname"></td><td>)</td>
  207. <td><code> [signal]</code></td>
  208. </tr>
  209. </table>
  210. </div>
  211. <div class="memdoc">
  212. <p>Signal to report that discovery has started. Alternative is error. </p>
  213. </div>
  214. </div>
  215. <a class="anchor" id="a0a699a55233e3d2da26e764bd0437d23"></a><!-- doxytag: member="QBtDeviceDiscoverer::discoveryStopped" ref="a0a699a55233e3d2da26e764bd0437d23" args="()" -->
  216. <div class="memitem">
  217. <div class="memproto">
  218. <table class="memname">
  219. <tr>
  220. <td class="memname">void QBtDeviceDiscoverer::discoveryStopped </td>
  221. <td>(</td>
  222. <td class="paramname"></td><td>)</td>
  223. <td><code> [signal]</code></td>
  224. </tr>
  225. </table>
  226. </div>
  227. <div class="memdoc">
  228. <p>Signal to report that discovery has stopped (either canceled or no new devices to detect) </p>
  229. </div>
  230. </div>
  231. <a class="anchor" id="ad48feb093b8704bf0e2b46faa3a857b4"></a><!-- doxytag: member="QBtDeviceDiscoverer::emitDummySignalTest" ref="ad48feb093b8704bf0e2b46faa3a857b4" args="()" -->
  232. <div class="memitem">
  233. <div class="memproto">
  234. <table class="memname">
  235. <tr>
  236. <td class="memname">Q_INVOKABLE void QBtDeviceDiscoverer::emitDummySignalTest </td>
  237. <td>(</td>
  238. <td class="paramname"></td><td>)</td>
  239. <td></td>
  240. </tr>
  241. </table>
  242. </div>
  243. <div class="memdoc">
  244. </div>
  245. </div>
  246. <a class="anchor" id="a35a495f04812b32978db124f0c06b9a6"></a><!-- doxytag: member="QBtDeviceDiscoverer::error" ref="a35a495f04812b32978db124f0c06b9a6" args="(QBtDeviceDiscoverer::DeviceDiscoveryErrors error)" -->
  247. <div class="memitem">
  248. <div class="memproto">
  249. <table class="memname">
  250. <tr>
  251. <td class="memname">void QBtDeviceDiscoverer::error </td>
  252. <td>(</td>
  253. <td class="paramtype"><a class="el" href="class_q_bt_device_discoverer.html#a0a9c81a42cd96e781ee7b12cb3a2e6f4">QBtDeviceDiscoverer::DeviceDiscoveryErrors</a>&#160;</td>
  254. <td class="paramname"><em>error</em></td><td>)</td>
  255. <td><code> [signal]</code></td>
  256. </tr>
  257. </table>
  258. </div>
  259. <div class="memdoc">
  260. <p>error Signal to be emitted when error occurs. </p>
  261. <dl><dt><b>Parameters:</b></dt><dd>
  262. <table class="params">
  263. <tr><td class="paramname">error</td><td>error code. </td></tr>
  264. </table>
  265. </dd>
  266. </dl>
  267. </div>
  268. </div>
  269. <a class="anchor" id="a787dc94623eb4928541b121552877d0f"></a><!-- doxytag: member="QBtDeviceDiscoverer::getInquiredDevices" ref="a787dc94623eb4928541b121552877d0f" args="() const " -->
  270. <div class="memitem">
  271. <div class="memproto">
  272. <table class="memname">
  273. <tr>
  274. <td class="memname">Q_INVOKABLE const <a class="el" href="class_q_bt_device.html#a452b324eaf1003be3bc6a575fe0e9b3a">QBtDevice::List</a>&amp; QBtDeviceDiscoverer::getInquiredDevices </td>
  275. <td>(</td>
  276. <td class="paramname"></td><td>)</td>
  277. <td> const</td>
  278. </tr>
  279. </table>
  280. </div>
  281. <div class="memdoc">
  282. <p>GetInquiredDevices()</p>
  283. <p>returns a reference to the list of devices found (if any) </p>
  284. </div>
  285. </div>
  286. <a class="anchor" id="aac15fc3318975512d66cc69528509b8d"></a><!-- doxytag: member="QBtDeviceDiscoverer::isBusy" ref="aac15fc3318975512d66cc69528509b8d" args="() const " -->
  287. <div class="memitem">
  288. <div class="memproto">
  289. <table class="memname">
  290. <tr>
  291. <td class="memname">bool QBtDeviceDiscoverer::isBusy </td>
  292. <td>(</td>
  293. <td class="paramname"></td><td>)</td>
  294. <td> const</td>
  295. </tr>
  296. </table>
  297. </div>
  298. <div class="memdoc">
  299. <p>Returns true if the class if performing a device discovery. </p>
  300. </div>
  301. </div>
  302. <a class="anchor" id="abdb7b28090a017f71b6d31d6d1ddcbfa"></a><!-- doxytag: member="QBtDeviceDiscoverer::newDeviceFound" ref="abdb7b28090a017f71b6d31d6d1ddcbfa" args="(QBtDevice remoteDevice)" -->
  303. <div class="memitem">
  304. <div class="memproto">
  305. <table class="memname">
  306. <tr>
  307. <td class="memname">void QBtDeviceDiscoverer::newDeviceFound </td>
  308. <td>(</td>
  309. <td class="paramtype"><a class="el" href="class_q_bt_device.html">QBtDevice</a>&#160;</td>
  310. <td class="paramname"><em>remoteDevice</em></td><td>)</td>
  311. <td><code> [signal]</code></td>
  312. </tr>
  313. </table>
  314. </div>
  315. <div class="memdoc">
  316. <p>Signaled for every device detected </p>
  317. <dl><dt><b>Parameters:</b></dt><dd>
  318. <table class="params">
  319. <tr><td class="paramname">remoteDevice</td><td>The remote device </td></tr>
  320. </table>
  321. </dd>
  322. </dl>
  323. </div>
  324. </div>
  325. <a class="anchor" id="a76e9223d3b2330c1c26c94bee5a1ae5f"></a><!-- doxytag: member="QBtDeviceDiscoverer::startDiscovery" ref="a76e9223d3b2330c1c26c94bee5a1ae5f" args="()" -->
  326. <div class="memitem">
  327. <div class="memproto">
  328. <table class="memname">
  329. <tr>
  330. <td class="memname">void QBtDeviceDiscoverer::startDiscovery </td>
  331. <td>(</td>
  332. <td class="paramname"></td><td>)</td>
  333. <td><code> [slot]</code></td>
  334. </tr>
  335. </table>
  336. </div>
  337. <div class="memdoc">
  338. <p><a class="el" href="class_q_bt_device_discoverer.html#a76e9223d3b2330c1c26c94bee5a1ae5f">startDiscovery()</a></p>
  339. <p>Start a device discovery. The start and completion of device discovery are reported through <a class="el" href="class_q_bt_device_discoverer.html#ae5005eee0f36cab45bb63460ba30a5ac">discoveryStarted()</a> and <a class="el" href="class_q_bt_device_discoverer.html#a0a699a55233e3d2da26e764bd0437d23">discoveryStopped()</a> signals respectively. </p>
  340. </div>
  341. </div>
  342. <a class="anchor" id="a8722f22bd1309044cd483c105499fb42"></a><!-- doxytag: member="QBtDeviceDiscoverer::stopDiscovery" ref="a8722f22bd1309044cd483c105499fb42" args="()" -->
  343. <div class="memitem">
  344. <div class="memproto">
  345. <table class="memname">
  346. <tr>
  347. <td class="memname">void QBtDeviceDiscoverer::stopDiscovery </td>
  348. <td>(</td>
  349. <td class="paramname"></td><td>)</td>
  350. <td><code> [slot]</code></td>
  351. </tr>
  352. </table>
  353. </div>
  354. <div class="memdoc">
  355. <p><a class="el" href="class_q_bt_device_discoverer.html#a8722f22bd1309044cd483c105499fb42">stopDiscovery()</a></p>
  356. <p>Stops device discovery. Signal <a class="el" href="class_q_bt_device_discoverer.html#a0a699a55233e3d2da26e764bd0437d23">discoveryStopped()</a> is emitted. </p>
  357. </div>
  358. </div>
  359. <hr/><h2>Friends And Related Function Documentation</h2>
  360. <a class="anchor" id="a3e9cc1dea4338114eb897ae6f641c2d4"></a><!-- doxytag: member="QBtDeviceDiscoverer::QBtDeviceDiscovererPrivate" ref="a3e9cc1dea4338114eb897ae6f641c2d4" args="" -->
  361. <div class="memitem">
  362. <div class="memproto">
  363. <table class="memname">
  364. <tr>
  365. <td class="memname">friend class QBtDeviceDiscovererPrivate<code> [friend]</code></td>
  366. </tr>
  367. </table>
  368. </div>
  369. <div class="memdoc">
  370. </div>
  371. </div>
  372. <hr/>The documentation for this class was generated from the following file:<ul>
  373. <li><a class="el" href="_q_bt_device_discoverer_8h_source.html">QBtDeviceDiscoverer.h</a></li>
  374. </ul>
  375. </div>
  376. </div>
  377. <div id="nav-path" class="navpath">
  378. <ul>
  379. <li class="navelem"><a class="el" href="class_q_bt_device_discoverer.html">QBtDeviceDiscoverer</a> </li>
  380. <!-- window showing the filter options -->
  381. <div id="MSearchSelectWindow"
  382. onmouseover="return searchBox.OnSearchSelectShow()"
  383. onmouseout="return searchBox.OnSearchSelectHide()"
  384. onkeydown="return searchBox.OnSearchSelectKey(event)">
  385. <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>
  386. <!-- iframe showing the search results (closed by default) -->
  387. <div id="MSearchResultsWindow">
  388. <iframe src="javascript:void(0)" frameborder="0"
  389. name="MSearchResults" id="MSearchResults">
  390. </iframe>
  391. </div>
  392. <li class="footer">Generated on Wed Jan 4 2012 21:05:39 for QBluetoothZero by
  393. <a href="http://www.doxygen.org/index.html">
  394. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
  395. </ul>
  396. </div>
  397. </body>
  398. </html>