#include </home/clem/local/src/opie/noncore/net/opietooth/lib/connection.h>
Collaboration diagram for OpieTooth::ConnectionState:

Public Types | |
| typedef QValueList< ConnectionState > | ValueList |
Public Member Functions | |
| ConnectionState (const ConnectionState &) | |
| ConnectionState (bool in, const QString &conType, const QString &mac, int handle, int state, int linkMode) | |
| ConnectionState () | |
| void | setDirection (bool incoming=Incoming) |
| bool | direction () const |
| void | setConnectionMode (const QString &comMode) |
| QString | connectionMode () const |
| void | setMac (const QString &mac) |
| QString | mac () const |
| void | setHandle (int handle) |
| int | handle () const |
| void | setState (int state) |
| int | state () const |
| void | setLinkMode (int linkMode=Master) |
| int | linkMode () const |
| ConnectionState & | operator= (const ConnectionState &) |
Private Attributes | |
| ConnectionStatePrivate * | d |
| bool | m_direction: 1 |
| QString | m_contype |
| QString | m_mac |
| int | m_handle |
| int | m_state |
| int | m_linkMode |
Definition at line 51 of file connection.h.
|
|
typedef for a list of Connections Definition at line 57 of file connection.h. |
|
|
Copy c'tor. Definition at line 17 of file connection.cpp. |
|
||||||||||||||||||||||||||||
|
Main c'tor Basicly it holds all values a blueZ connections can have
Definition at line 22 of file connection.cpp. References m_contype, m_direction, m_handle, m_linkMode, m_mac, and m_state. |
|
|
C'tor for compability with QValueList QValueList needs this c'tor. Definition at line 10 of file connection.cpp. References OpieTooth::Incoming, m_direction, m_handle, m_linkMode, and m_state. |
|
|
linkMode returns the linkMode MASTER for example Definition at line 49 of file connection.cpp. References m_contype. Referenced by OpieTooth::BTConnectionItem::BTConnectionItem(). |
|
|
direction() will return Incoming( true ) if the direction is incomoning or Outgoing( false) if outgoing Definition at line 41 of file connection.cpp. References m_direction. |
|
|
Definition at line 65 of file connection.cpp. References m_handle. |
|
|
returns the linkMode Definition at line 81 of file connection.cpp. References m_linkMode. |
|
|
returns the mac Definition at line 57 of file connection.cpp. References m_mac. Referenced by OpieTooth::BTConnectionItem::BTConnectionItem(). |
|
|
copy c'tor Definition at line 85 of file connection.cpp. References m_contype, m_direction, m_handle, m_linkMode, m_mac, and m_state. |
|
|
sets the ConnectionMode
Definition at line 45 of file connection.cpp. References m_contype. Referenced by OpieTooth::Manager::parseConnections(). |
|
|
Set if the connection is incoming or outgoing
Definition at line 37 of file connection.cpp. References m_direction. Referenced by OpieTooth::Manager::parseConnections(). |
|
|
Set the handle of the bt connection Definition at line 61 of file connection.cpp. References m_handle. Referenced by OpieTooth::Manager::parseConnections(). |
|
|
Sets the link mode of the Connection Definition at line 77 of file connection.cpp. References m_linkMode. Referenced by OpieTooth::Manager::parseConnections(). |
|
|
The Bluetooth Address or mac is set by this function
Definition at line 53 of file connection.cpp. References m_mac. Referenced by OpieTooth::BlueBase::addConnectedDevices(), and OpieTooth::Manager::parseConnections(). |
|
|
sets the state Definition at line 69 of file connection.cpp. References m_state. Referenced by OpieTooth::Manager::parseConnections(). |
|
|
return the state Definition at line 73 of file connection.cpp. References m_state. |
|
|
Definition at line 168 of file connection.h. |
|
|
Definition at line 171 of file connection.h. Referenced by connectionMode(), ConnectionState(), operator=(), and setConnectionMode(). |
|
|
Definition at line 170 of file connection.h. Referenced by ConnectionState(), direction(), operator=(), and setDirection(). |
|
|
Definition at line 173 of file connection.h. Referenced by ConnectionState(), handle(), operator=(), and setHandle(). |
|
|
Definition at line 175 of file connection.h. Referenced by ConnectionState(), linkMode(), operator=(), and setLinkMode(). |
|
|
Definition at line 172 of file connection.h. Referenced by ConnectionState(), mac(), operator=(), and setMac(). |
|
|
Definition at line 174 of file connection.h. Referenced by ConnectionState(), operator=(), setState(), and state(). |
1.4.2