#include </home/clem/local/src/opie/core/obex/btobex.h>
Collaboration diagram for OpieObex::BtObex:

Signals | |
| void | receivedFile (const QString &path) |
| void | error (int) |
| void | currentTry (unsigned int) |
| void | sent (bool) |
| void | done (bool) |
Public Member Functions | |
| BtObex (QObject *parent, const char *name) | |
| ~BtObex () | |
| void | receive () |
| void | send (const QString &, const QString &) |
| void | setReceiveEnabled (bool=false) |
Private Slots | |
| void | slotExited (Opie::Core::OProcess *proc) |
| void | slotStdOut (Opie::Core::OProcess *, char *, int) |
| void | slotError () |
Private Member Functions | |
| void | shutDownReceive () |
| void | sendNow () |
| QString | parseOut () |
| void | received () |
| void | sendEnd () |
Private Attributes | |
| uint | m_count |
| QString | m_file |
| QString | m_outp |
| QString | m_bdaddr |
| Opie::Core::OProcess * | m_send |
| Opie::Core::OProcess * | m_rec |
| bool | m_receive: 1 |
|
||||||||||||
|
BtObex c'tor look Definition at line 18 of file btobex.cpp. References error(), m_count, m_rec, m_receive, m_send, sent(), and slotError(). |
|
|
d'tor Definition at line 30 of file btobex.cpp. |
|
|
The current try to receive data Referenced by sendNow(). |
|
|
Referenced by receive(), and received(). |
|
|
error signal if the program couldn't be started or the the connection timed out Referenced by BtObex(), send(), sendEnd(), sendNow(), and shutDownReceive(). |
|
|
Definition at line 157 of file btobex.cpp. References QValueList< T >::begin(), QValueList< T >::end(), list, m_outp, QString::mid(), pos, QString::remove(), QStringList::split(), and QString::stripWhiteSpace(). Referenced by received(). |
|
|
TODO mbhaynie -- Maybe opd would be a better way to receive. Starting listening to Bluetooth after enabled by the applet a signal gets emitted when received a file Definition at line 34 of file btobex.cpp. References OProcess::AllOutput, done(), m_outp, m_rec, m_receive, OProcess::NotifyOnExit, QString::null, OProcess, slotExited(), slotStdOut(), and Opie::Core::OProcess::start(). Referenced by received(), and slotError(). |
|
|
Definition at line 123 of file btobex.cpp. References done(), Opie::Core::OProcess::exitStatus(), m_rec, Opie::Core::OProcess::normalExit(), parseOut(), receive(), and receivedFile(). Referenced by slotExited(). |
|
|
a signal
Referenced by received(). |
|
||||||||||||
|
Definition at line 55 of file btobex.cpp. References error(), Opie::Core::OProcess::isRunning(), m_bdaddr, m_count, m_file, m_rec, and sendNow(). Referenced by OpieObex::SendWidget::slotStartBt(). |
|
|
Definition at line 137 of file btobex.cpp. References error(), Opie::Core::OProcess::exitStatus(), m_send, Opie::Core::OProcess::normalExit(), sendNow(), and sent(). Referenced by slotExited(). |
|
|
Definition at line 73 of file btobex.cpp. References currentTry(), QFile::encodeName(), error(), m_bdaddr, m_count, m_file, m_send, OProcess, sent(), Opie::Core::OProcess::setWorkingDirectory(), slotExited(), slotStdOut(), and Opie::Core::OProcess::start(). |
|
|
signal sent The file got beamed to the remote location |
|
|
Definition at line 181 of file btobex.cpp. References m_receive, and shutDownReceive(). |
|
|
Definition at line 188 of file btobex.cpp. References error(), Opie::Core::OProcess::isRunning(), and m_rec. Referenced by setReceiveEnabled(). |
|
|
when sent is done slotError is called we will start receive again Definition at line 177 of file btobex.cpp. References m_receive, and receive(). Referenced by BtObex(). |
|
|
Definition at line 108 of file btobex.cpp. References m_rec, m_send, received(), and sendEnd(). |
|
||||||||||||||||
|
Definition at line 115 of file btobex.cpp. References QString::append(), m_outp, and m_rec. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 56 of file btobex.h. Referenced by parseOut(), receive(), and slotStdOut(). |
|
|
Definition at line 59 of file btobex.h. Referenced by BtObex(), receive(), received(), send(), shutDownReceive(), slotExited(), slotStdOut(), and ~BtObex(). |
|
|
Definition at line 60 of file btobex.h. Referenced by BtObex(), receive(), setReceiveEnabled(), and slotError(). |
|
|
Definition at line 58 of file btobex.h. Referenced by BtObex(), sendEnd(), sendNow(), slotExited(), and ~BtObex(). |
1.4.2