summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/connection.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/lib/connection.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/connection.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/opietooth/lib/connection.h b/noncore/net/opietooth/lib/connection.h
index 37090ce..76e5dad 100644
--- a/noncore/net/opietooth/lib/connection.h
+++ b/noncore/net/opietooth/lib/connection.h
@@ -14,24 +14,24 @@ namespace OpieTooth {
/**
* The Connection class stores
* the output of hcitool con
* in a OO way
*/
- class Connection {
+ class ConnectionState {
public:
/**
* typedef for a list of
* Connections
*/
- typedef QValueList<Connection> ValueList;
+ typedef QValueList<ConnectionState> ValueList;
/**
* Copy c'tor.
*/
- Connection( const Connection& );
+ ConnectionState( const ConnectionState& );
/**
* Main c'tor
* Basicly it holds all values
* a blueZ connections can have
* @param in If the connection is either incoming or outgoing
@@ -41,24 +41,24 @@ namespace OpieTooth {
* @param state the State of the connection
* @param linkMode the linkmode of the connection MASTER or not
*
* < ACL 00:02:C7:09:2B:53 handle 1 state 1 lm MASTER
*
*/
- Connection( bool in,
+ ConnectionState( bool in,
const QString& conType,
const QString& mac,
int handle,
int state,
int linkMode );
/**
* C'tor for compability with QValueList
* QValueList needs this c'tor.
*/
- Connection();
+ ConnectionState();
/**
* Set if the connection is incoming or
* outgoing
* @param in Whether or not the connection is ingoing or not.
* for param use either Incoming or Outgoing
@@ -128,17 +128,17 @@ namespace OpieTooth {
*/
int linkMode()const;
/**
* copy c'tor
*/
- Connection &operator=( const Connection& );
+ ConnectionState &operator=( const ConnectionState& );
private:
- class ConnectionPrivate;
- ConnectionPrivate *d;
+ class ConnectionStatePrivate;
+ ConnectionStatePrivate *d;
bool m_direction : 1;
QString m_contype;
QString m_mac;
int m_handle;
int m_state;
int m_linkMode;