123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <title>QBluetoothZero: QBtObjectExchangeClient Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- $(document).ready(initResizable);
- </script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { searchBox.OnSelectItem(0); });
- </script>
- </head>
- <body>
- <div id="top"><!-- do not remove this div! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
-
- <td id="projectlogo"><img alt="Logo" src="projecticonBlue.png"/></td>
-
-
- <td style="padding-left: 0.5em;">
- <div id="projectname">QBluetoothZero
-  <span id="projectnumber">2.0</span>
- </div>
-
- </td>
-
-
-
- </tr>
- </tbody>
- </table>
- </div>
- <!-- Generated by Doxygen 1.7.5.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="classes.html"><span>Class Index</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- </div>
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- initNavTree('class_q_bt_object_exchange_client.html','');
- </script>
- <div id="doc-content">
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#pub-slots">Public Slots</a> |
- <a href="#signals">Signals</a> |
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#friends">Friends</a> </div>
- <div class="headertitle">
- <div class="title">QBtObjectExchangeClient Class Reference</div> </div>
- </div>
- <div class="contents">
- <!-- doxytag: class="QBtObjectExchangeClient" -->
- <p><code>#include <<a class="el" href="_q_bt_object_exchange_client_8h_source.html">QBtObjectExchangeClient.h</a>></code></p>
- <p><a href="class_q_bt_object_exchange_client-members.html">List of all members.</a></p>
- <table class="memberdecls">
- <tr><td colspan="2"><h2><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37">ErrorCode</a> { <br/>
-   <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37a2df562b8d29e69bfcf00f29722494577">OBEXClientConnectionError</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37a85e5ed83ef262fa8bf61057ac47b4908">OBEXClientSendError</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37a61bca3f41cf1487265a16895ecc27489">OBEXClientReceiveError</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37af6a3bc11bd38f07955d0d80a3381a8f9">OBEXClientDisconnected</a>,
- <br/>
-   <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37a3fa39e6fdff7af002c8a066143a60e45">OBEXClientInUse</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37a4930ed8efddcc1380192dac743ecb720">OBEXClientInternalError</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37af6cdae9d00652dbcb077c297eeea5888">OBEXClientNoSelectedDevice</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37aecedbffe90a55790d207e8cec059b06c">OBEXClientNoSelectedService</a>,
- <br/>
-   <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37ae19184bd4ce351253571e029613dfb4c">OBEXClientUnableToSetPath</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37addba3e1c7b55f4c3fa0c5573484a091d">OBEXFeatureNotSupported</a>,
- <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37a895b4915b2fd642c3ae91e67c95b9031">OBEXClientBrowseError</a>
- <br/>
- }</td></tr>
- <tr><td colspan="2"><h2><a name="pub-slots"></a>
- Public Slots</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a13a146e6ac102b6b42445844317af238">disconnect</a> ()</td></tr>
- <tr><td colspan="2"><h2><a name="signals"></a>
- Signals</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#af91e29a1b1911b017b60318eca07c664">error</a> (<a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37">QBtObjectExchangeClient::ErrorCode</a> code)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a910f68dc26a47f328068d457698b395a">connectedToServer</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a101a579a2c06752dfa3152c8b7e8bad4">disconnectedFromServer</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#ab9b601cc55ae57ec7b64284de702e006">objectSent</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a824d599ef5bbd46f5fb9872b50e5c700">fileReceived</a> (const QString &fileName)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#ae7fb7012bc65d135cd5bf01c475c187d">dataReceived</a> (const QByteArray &data)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a0c3432d830024469f52f0a14a4232c53">remotePathSet</a> (const QString &pathName)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#ad9381eb23ce70141b865ce6081a8ee41">folderBrowsingResultElement</a> (const <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> &file)</td></tr>
- <tr><td colspan="2"><h2><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a58e72a95d2e4ac465c771ad1d1c7d937">QBtObjectExchangeClient</a> (QObject *parent)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a3ab66ccb045dbdc33fdbcda690dccb1d">~QBtObjectExchangeClient</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a0a86872cf3fbbc312ff4b61ec71864eb">connectToServer</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &remoteDevice, const <a class="el" href="class_q_bt_service.html">QBtService</a> &remoteService)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a2b880bcdf9389cc2742b26ae90af86b9">getFile</a> (const QString &remoteFileAbsolutePath, const QString &destinationFolder)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#ae236a6128e744a0b6643cecf28b186c1">getByteBuffer</a> (const QString &dataName)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a60ad43e16cc92556100cfc2ee8af3998">putFile</a> (const QString &fileName)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a2ac4d381ecd329667c6f59bdefbe7d63">putByteBuffer</a> (const QByteArray &data, const QString &bufferName)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a74868fe730c99da79aa6995656c0dd4c">abort</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a8769373e642a93aced09c07b7443625d">setPath</a> (const QString &path)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a11f52d27cb1f13ee8062343e41a62277">getWorkingPath</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#af8446433f1c18e08ed279372f6fd2f3f">initiateFolderBrowsing</a> (const QString &folderPath="")</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a5fed83e8f4c2a4cf1ee4301c5c24f11d">locateFiles</a> (QRegExp *regex=0, QString folder="")</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#af559bb6f2e8f0335cf89128309d7d2a7">batchFileRetrieval</a> (const QList< <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> * > &files, const QString destinationFolder, bool retrieveOnlyNewFiles=false)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_service.html">QBtService</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a271de0d1664774be220903cb4f8172f6">getTransmittingService</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#abb66e9b32d9c97f34176aca092b7a0bd">getServerDevice</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a96dd3507a0b603e766e286f4121bdeea">isBusy</a> () const </td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a97a53881ee9d7d384ef9d9bb12009631">isConnected</a> () const </td></tr>
- <tr><td colspan="2"><h2><a name="friends"></a>
- Friends</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_object_exchange_client.html#a4b9d896814950f89b910ce6462c7acad">QBtObjectExchangeClientPrivate</a></td></tr>
- </table>
- <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
- <div class="textblock"><p>Class that provides the mechanism to connect to a remote OBEX server and send or recieve files or raw data.</p>
- <p>After instantiation user can call connectToServer(QBtDevice&, QBtService&) to connect to the remote server specified by the remoteDevice argument to its service provide by remoteService argument.</p>
- <p>P.S. At the remote service, one of the supported protocols must be <a class="el" href="class_q_bt_constants.html#a2444b7cc46a0523f8ff5f4a239fd3c92a98e4474c1912b4965a04e4b32491a31a">QBtConstants::OBEX</a>. Suggestion, use a service whose class is equal to <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca276046ec68ea211be1fb08b49401fa8f">QBtConstants::OBEXObjectPush</a> or <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca5e5efbf7fd080599d611d4928a7b7111">QBtConstants::OBEXFileTransfer</a>. Again, it is suggested to use <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca276046ec68ea211be1fb08b49401fa8f">QBtConstants::OBEXObjectPush</a>. Both options will work fine if the user wants to send a file to the server, but at present further operations can be done using <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca276046ec68ea211be1fb08b49401fa8f">QBtConstants::OBEXObjectPush</a>.</p>
- <p>Signal <a class="el" href="class_q_bt_object_exchange_client.html#a910f68dc26a47f328068d457698b395a">connectedToServer()</a> is emitted upon successfull connection to the OBEX server.</p>
- <p>After the successfull connection to the server, user can call <a class="el" href="class_q_bt_object_exchange_client.html#a60ad43e16cc92556100cfc2ee8af3998">putFile(const QString&)</a> to send to the remote server the file specified by the string passed as argument. If successfull then <a class="el" href="class_q_bt_object_exchange_client.html#ab9b601cc55ae57ec7b64284de702e006">objectSent()</a> signal is emitted.</p>
- <p>Also user is able to send a request to get a file from the remote server specifing the absolute path of the file to be fetched at the remote device's file system. Also a local path must be set which is where the file will be stored after the successfull transfer. <a class="el" href="class_q_bt_object_exchange_client.html#a2b880bcdf9389cc2742b26ae90af86b9">getFile(const QString& localPath, const QString& remoteFileNameFull)</a> If successfull then fileReceived(const QString) is emitted.</p>
- <p><a class="el" href="class_q_bt_object_exchange_client.html#ae236a6128e744a0b6643cecf28b186c1">getByteBuffer()</a> and <a class="el" href="class_q_bt_object_exchange_client.html#a2ac4d381ecd329667c6f59bdefbe7d63">putByteBuffer()</a> are implemented but not tested. If successfull they emit dataReceived(const QByteArray) and <a class="el" href="class_q_bt_object_exchange_client.html#ab9b601cc55ae57ec7b64284de702e006">objectSent()</a> respectively.</p>
- <p>If connected to an OBEX FTP bluetooth service then <a class="el" href="class_q_bt_object_exchange_client.html#a8769373e642a93aced09c07b7443625d">setPath()</a> can be called to set the remote working directory. If successfull then remotePathSet(const QString) will be emitted.</p>
- <p>User can abort any transmittion in progress by calling <a class="el" href="class_q_bt_object_exchange_client.html#a74868fe730c99da79aa6995656c0dd4c">abort()</a>.</p>
- <p>User can disconnect from the server at any time or the disconnection will take place at destruction time. Any transmittion in progress will be terminated instantly. A successfull disconnection emits <a class="el" href="class_q_bt_object_exchange_client.html#a101a579a2c06752dfa3152c8b7e8bad4">disconnectedFromServer()</a> signal. </p>
- </div><hr/><h2>Member Enumeration Documentation</h2>
- <a class="anchor" id="aebe0579eba1e138b4e37b91259866a37"></a><!-- doxytag: member="QBtObjectExchangeClient::ErrorCode" ref="aebe0579eba1e138b4e37b91259866a37" args="" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37">QBtObjectExchangeClient::ErrorCode</a></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37a2df562b8d29e69bfcf00f29722494577"></a><!-- doxytag: member="OBEXClientConnectionError" ref="aebe0579eba1e138b4e37b91259866a37a2df562b8d29e69bfcf00f29722494577" args="" -->OBEXClientConnectionError</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37a85e5ed83ef262fa8bf61057ac47b4908"></a><!-- doxytag: member="OBEXClientSendError" ref="aebe0579eba1e138b4e37b91259866a37a85e5ed83ef262fa8bf61057ac47b4908" args="" -->OBEXClientSendError</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37a61bca3f41cf1487265a16895ecc27489"></a><!-- doxytag: member="OBEXClientReceiveError" ref="aebe0579eba1e138b4e37b91259866a37a61bca3f41cf1487265a16895ecc27489" args="" -->OBEXClientReceiveError</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37af6a3bc11bd38f07955d0d80a3381a8f9"></a><!-- doxytag: member="OBEXClientDisconnected" ref="aebe0579eba1e138b4e37b91259866a37af6a3bc11bd38f07955d0d80a3381a8f9" args="" -->OBEXClientDisconnected</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37a3fa39e6fdff7af002c8a066143a60e45"></a><!-- doxytag: member="OBEXClientInUse" ref="aebe0579eba1e138b4e37b91259866a37a3fa39e6fdff7af002c8a066143a60e45" args="" -->OBEXClientInUse</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37a4930ed8efddcc1380192dac743ecb720"></a><!-- doxytag: member="OBEXClientInternalError" ref="aebe0579eba1e138b4e37b91259866a37a4930ed8efddcc1380192dac743ecb720" args="" -->OBEXClientInternalError</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37af6cdae9d00652dbcb077c297eeea5888"></a><!-- doxytag: member="OBEXClientNoSelectedDevice" ref="aebe0579eba1e138b4e37b91259866a37af6cdae9d00652dbcb077c297eeea5888" args="" -->OBEXClientNoSelectedDevice</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37aecedbffe90a55790d207e8cec059b06c"></a><!-- doxytag: member="OBEXClientNoSelectedService" ref="aebe0579eba1e138b4e37b91259866a37aecedbffe90a55790d207e8cec059b06c" args="" -->OBEXClientNoSelectedService</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37ae19184bd4ce351253571e029613dfb4c"></a><!-- doxytag: member="OBEXClientUnableToSetPath" ref="aebe0579eba1e138b4e37b91259866a37ae19184bd4ce351253571e029613dfb4c" args="" -->OBEXClientUnableToSetPath</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37addba3e1c7b55f4c3fa0c5573484a091d"></a><!-- doxytag: member="OBEXFeatureNotSupported" ref="aebe0579eba1e138b4e37b91259866a37addba3e1c7b55f4c3fa0c5573484a091d" args="" -->OBEXFeatureNotSupported</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="aebe0579eba1e138b4e37b91259866a37a895b4915b2fd642c3ae91e67c95b9031"></a><!-- doxytag: member="OBEXClientBrowseError" ref="aebe0579eba1e138b4e37b91259866a37a895b4915b2fd642c3ae91e67c95b9031" args="" -->OBEXClientBrowseError</em> </td><td>
- </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a58e72a95d2e4ac465c771ad1d1c7d937"></a><!-- doxytag: member="QBtObjectExchangeClient::QBtObjectExchangeClient" ref="a58e72a95d2e4ac465c771ad1d1c7d937" args="(QObject *parent)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QBtObjectExchangeClient::QBtObjectExchangeClient </td>
- <td>(</td>
- <td class="paramtype">QObject * </td>
- <td class="paramname"><em>parent</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a3ab66ccb045dbdc33fdbcda690dccb1d"></a><!-- doxytag: member="QBtObjectExchangeClient::~QBtObjectExchangeClient" ref="a3ab66ccb045dbdc33fdbcda690dccb1d" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QBtObjectExchangeClient::~QBtObjectExchangeClient </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a74868fe730c99da79aa6995656c0dd4c"></a><!-- doxytag: member="QBtObjectExchangeClient::abort" ref="a74868fe730c99da79aa6995656c0dd4c" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::abort </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_object_exchange_client.html#a74868fe730c99da79aa6995656c0dd4c">abort()</a></p>
- <p>abort any panding or running transmittion. </p>
- </div>
- </div>
- <a class="anchor" id="af559bb6f2e8f0335cf89128309d7d2a7"></a><!-- doxytag: member="QBtObjectExchangeClient::batchFileRetrieval" ref="af559bb6f2e8f0335cf89128309d7d2a7" args="(const QList< QBtRemoteFileInfo * > &files, const QString destinationFolder, bool retrieveOnlyNewFiles=false)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::batchFileRetrieval </td>
- <td>(</td>
- <td class="paramtype">const QList< <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> * > & </td>
- <td class="paramname"><em>files</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QString </td>
- <td class="paramname"><em>destinationFolder</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>retrieveOnlyNewFiles</em> = <code>false</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>batchFileRetrieval</p>
- <p>ONLY FOR WINDOWS</p>
- <p>Convenient method to retrieve multiple files in the row.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">files</td><td>The list of files to retrieve </td></tr>
- <tr><td class="paramname">destinationFolder</td><td>The folder in the local file system where the files will be stored. The files are placed all in that directory same directory so the structure in the remote file system is not preserved. </td></tr>
- <tr><td class="paramname">retrieveOnlyNewFiles</td><td>If set true, then it first check if the file defined already exists in the destination folder. If it does then it skips it. By default it is set to copy every file it founds. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a910f68dc26a47f328068d457698b395a"></a><!-- doxytag: member="QBtObjectExchangeClient::connectedToServer" ref="a910f68dc26a47f328068d457698b395a" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::connectedToServer </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted upon successfull connection to the OBEX server. </p>
- </div>
- </div>
- <a class="anchor" id="a0a86872cf3fbbc312ff4b61ec71864eb"></a><!-- doxytag: member="QBtObjectExchangeClient::connectToServer" ref="a0a86872cf3fbbc312ff4b61ec71864eb" args="(const QBtDevice &remoteDevice, const QBtService &remoteService)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::connectToServer </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>remoteDevice</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="class_q_bt_service.html">QBtService</a> & </td>
- <td class="paramname"><em>remoteService</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_object_exchange_client.html#a0a86872cf3fbbc312ff4b61ec71864eb">connectToServer()</a></p>
- <p>Connect to a remote server defined by parameter 1 to its service defined by parameter 2.</p>
- <p>P.S. At the remote service, one of the supported protocols must be <a class="el" href="class_q_bt_constants.html#a2444b7cc46a0523f8ff5f4a239fd3c92a98e4474c1912b4965a04e4b32491a31a">QBtConstants::OBEX</a>. Suggestion, use a service whose class is equal to <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca276046ec68ea211be1fb08b49401fa8f">QBtConstants::OBEXObjectPush</a> or <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca5e5efbf7fd080599d611d4928a7b7111">QBtConstants::OBEXFileTransfer</a>. Again, it is suggested to use <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca276046ec68ea211be1fb08b49401fa8f">QBtConstants::OBEXObjectPush</a>. Both options will work fine if the user wants to send a file to the server, but at present further operations can be done using <a class="el" href="class_q_bt_constants.html#a8bd5be1319e00863d4af307e5616518ca276046ec68ea211be1fb08b49401fa8f">QBtConstants::OBEXObjectPush</a>.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">remoteDevice</td><td></td></tr>
- <tr><td class="paramname">remoteService</td><td></td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ae7fb7012bc65d135cd5bf01c475c187d"></a><!-- doxytag: member="QBtObjectExchangeClient::dataReceived" ref="ae7fb7012bc65d135cd5bf01c475c187d" args="(const QByteArray &data)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::dataReceived </td>
- <td>(</td>
- <td class="paramtype">const QByteArray & </td>
- <td class="paramname"><em>data</em></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted when a byte buffer is received from the server </p>
- </div>
- </div>
- <a class="anchor" id="a13a146e6ac102b6b42445844317af238"></a><!-- doxytag: member="QBtObjectExchangeClient::disconnect" ref="a13a146e6ac102b6b42445844317af238" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::disconnect </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a101a579a2c06752dfa3152c8b7e8bad4"></a><!-- doxytag: member="QBtObjectExchangeClient::disconnectedFromServer" ref="a101a579a2c06752dfa3152c8b7e8bad4" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::disconnectedFromServer </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted upon disconnection from the server. </p>
- </div>
- </div>
- <a class="anchor" id="af91e29a1b1911b017b60318eca07c664"></a><!-- doxytag: member="QBtObjectExchangeClient::error" ref="af91e29a1b1911b017b60318eca07c664" args="(QBtObjectExchangeClient::ErrorCode code)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::error </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_bt_object_exchange_client.html#aebe0579eba1e138b4e37b91259866a37">QBtObjectExchangeClient::ErrorCode</a> </td>
- <td class="paramname"><em>code</em></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted in case of error </p>
- </div>
- </div>
- <a class="anchor" id="a824d599ef5bbd46f5fb9872b50e5c700"></a><!-- doxytag: member="QBtObjectExchangeClient::fileReceived" ref="a824d599ef5bbd46f5fb9872b50e5c700" args="(const QString &fileName)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::fileReceived </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted when a file is received from the server </p>
- </div>
- </div>
- <a class="anchor" id="ad9381eb23ce70141b865ce6081a8ee41"></a><!-- doxytag: member="QBtObjectExchangeClient::folderBrowsingResultElement" ref="ad9381eb23ce70141b865ce6081a8ee41" args="(const QBtRemoteFileInfo &file)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::folderBrowsingResultElement </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> & </td>
- <td class="paramname"><em>file</em></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted after calling initiateFolderBrowsing function for every result found from browsing.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">file</td><td>The file info. See <a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a> class for the info provided. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ae236a6128e744a0b6643cecf28b186c1"></a><!-- doxytag: member="QBtObjectExchangeClient::getByteBuffer" ref="ae236a6128e744a0b6643cecf28b186c1" args="(const QString &dataName)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::getByteBuffer </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>dataName</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_object_exchange_client.html#ae236a6128e744a0b6643cecf28b186c1">getByteBuffer(const QString& dataName)</a> Request from the server to GET the data buffer defined in the argument</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">dataName</td><td>The name of the buffer. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a2b880bcdf9389cc2742b26ae90af86b9"></a><!-- doxytag: member="QBtObjectExchangeClient::getFile" ref="a2b880bcdf9389cc2742b26ae90af86b9" args="(const QString &remoteFileAbsolutePath, const QString &destinationFolder)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::getFile </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>remoteFileAbsolutePath</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>destinationFolder</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_object_exchange_client.html#a2b880bcdf9389cc2742b26ae90af86b9">getFile()</a> Get a file from the remote Server</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">localPath</td><td>the path where the file will be saved </td></tr>
- <tr><td class="paramname">remoteFileNameFull</td><td>the name of the file to be transfered containing the full path of its remote location </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="abb66e9b32d9c97f34176aca092b7a0bd"></a><!-- doxytag: member="QBtObjectExchangeClient::getServerDevice" ref="abb66e9b32d9c97f34176aca092b7a0bd" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_bt_device.html">QBtDevice</a>& QBtObjectExchangeClient::getServerDevice </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Get info about the server connected to. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd>An object containing the remote server device info. </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a271de0d1664774be220903cb4f8172f6"></a><!-- doxytag: member="QBtObjectExchangeClient::getTransmittingService" ref="a271de0d1664774be220903cb4f8172f6" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_bt_service.html">QBtService</a>& QBtObjectExchangeClient::getTransmittingService </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Get info about the service connected to. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd>An object containing the service info </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a11f52d27cb1f13ee8062343e41a62277"></a><!-- doxytag: member="QBtObjectExchangeClient::getWorkingPath" ref="a11f52d27cb1f13ee8062343e41a62277" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QString QBtObjectExchangeClient::getWorkingPath </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>getWorkingPath</p>
- <p>ONLY FOR WINDOWS</p>
- <p>Return as QString holding the absolute path of the current working directory </p>
- </div>
- </div>
- <a class="anchor" id="af8446433f1c18e08ed279372f6fd2f3f"></a><!-- doxytag: member="QBtObjectExchangeClient::initiateFolderBrowsing" ref="af8446433f1c18e08ed279372f6fd2f3f" args="(const QString &folderPath="")" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList<<a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a>*> QBtObjectExchangeClient::initiateFolderBrowsing </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>folderPath</em> = <code>""</code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_object_exchange_client.html#af8446433f1c18e08ed279372f6fd2f3f">initiateFolderBrowsing()</a></p>
- <p>ONLY FOR WINDOWS</p>
- <p>Browse the files of a selected folder.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">folder</td><td>The folder path must either be absolute (e.g. :), or it must be the name of the folder you are going to browse as long as the folder is inside the current working directory of yours.</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="return"><dt><b>Returns:</b></dt><dd>QList<QBtRemoteFileInfo*> a list of the files/folders found and their attributes </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a96dd3507a0b603e766e286f4121bdeea"></a><!-- doxytag: member="QBtObjectExchangeClient::isBusy" ref="a96dd3507a0b603e766e286f4121bdeea" args="() const " -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QBtObjectExchangeClient::isBusy </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Checks if the client is performing some operation. </p>
- </div>
- </div>
- <a class="anchor" id="a97a53881ee9d7d384ef9d9bb12009631"></a><!-- doxytag: member="QBtObjectExchangeClient::isConnected" ref="a97a53881ee9d7d384ef9d9bb12009631" args="() const " -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QBtObjectExchangeClient::isConnected </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Checks if the client got a connection (it does not check *now* if the client is still connected). </p>
- </div>
- </div>
- <a class="anchor" id="a5fed83e8f4c2a4cf1ee4301c5c24f11d"></a><!-- doxytag: member="QBtObjectExchangeClient::locateFiles" ref="a5fed83e8f4c2a4cf1ee4301c5c24f11d" args="(QRegExp *regex=0, QString folder="")" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList<<a class="el" href="class_q_bt_remote_file_info.html">QBtRemoteFileInfo</a>*> QBtObjectExchangeClient::locateFiles </td>
- <td>(</td>
- <td class="paramtype">QRegExp * </td>
- <td class="paramname"><em>regex</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QString </td>
- <td class="paramname"><em>folder</em> = <code>""</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>locateFiles</p>
- <p>ONLY FOR WINDOWS</p>
- <p>Locate files/folders that comply to the regex passed as arguments. For example can be used to isolate files of specific type.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">regex</td><td>The regex that describes the files that are needed to be selected. If this parameter is not set, the default operation is to select all the files in the specified folder.</td></tr>
- <tr><td class="paramname">folder</td><td>The folder path must either be absolute (e.g. :), or it must be the name of the folder you are going to browse as long as the folder is inside the current working directory of yours. If this parameter is not set, the default operation is to search in the current working directory. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ab9b601cc55ae57ec7b64284de702e006"></a><!-- doxytag: member="QBtObjectExchangeClient::objectSent" ref="ab9b601cc55ae57ec7b64284de702e006" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::objectSent </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted upon successfull transmittion of an object </p>
- </div>
- </div>
- <a class="anchor" id="a2ac4d381ecd329667c6f59bdefbe7d63"></a><!-- doxytag: member="QBtObjectExchangeClient::putByteBuffer" ref="a2ac4d381ecd329667c6f59bdefbe7d63" args="(const QByteArray &data, const QString &bufferName)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::putByteBuffer </td>
- <td>(</td>
- <td class="paramtype">const QByteArray & </td>
- <td class="paramname"><em>data</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>bufferName</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_object_exchange_client.html#a2ac4d381ecd329667c6f59bdefbe7d63">putByteBuffer()</a></p>
- <p>send the server a byte sequence. </p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">data,the</td><td>data of the buffer </td></tr>
- <tr><td class="paramname">bufferName,the</td><td>name of the buffer (used for convenience on the data processing of the server) </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a60ad43e16cc92556100cfc2ee8af3998"></a><!-- doxytag: member="QBtObjectExchangeClient::putFile" ref="a60ad43e16cc92556100cfc2ee8af3998" args="(const QString &fileName)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::putFile </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Send a specified file from the local file system to the remote OBEX server.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">fileName</td><td>The file name of the file to be sent. The absolute path of the file is required. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a0c3432d830024469f52f0a14a4232c53"></a><!-- doxytag: member="QBtObjectExchangeClient::remotePathSet" ref="a0c3432d830024469f52f0a14a4232c53" args="(const QString &pathName)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::remotePathSet </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>pathName</em></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Emitted upon successfull set of the remote current working directory. </p>
- </div>
- </div>
- <a class="anchor" id="a8769373e642a93aced09c07b7443625d"></a><!-- doxytag: member="QBtObjectExchangeClient::setPath" ref="a8769373e642a93aced09c07b7443625d" args="(const QString &path)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtObjectExchangeClient::setPath </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>path</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>setPath(const QString path)</p>
- <p>Set the current path of the remote device OBEX session. </p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">path</td><td>The remote folder to be set as current </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <hr/><h2>Friends And Related Function Documentation</h2>
- <a class="anchor" id="a4b9d896814950f89b910ce6462c7acad"></a><!-- doxytag: member="QBtObjectExchangeClient::QBtObjectExchangeClientPrivate" ref="a4b9d896814950f89b910ce6462c7acad" args="" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">friend class QBtObjectExchangeClientPrivate<code> [friend]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li><a class="el" href="_q_bt_object_exchange_client_8h_source.html">QBtObjectExchangeClient.h</a></li>
- </ul>
- </div>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="class_q_bt_object_exchange_client.html">QBtObjectExchangeClient</a> </li>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Defines</a></div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <li class="footer">Generated on Wed Jan 4 2012 21:05:39 for QBluetoothZero by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
- </ul>
- </div>
- </body>
- </html>
|