Diffstat (limited to 'noncore/net/opietooth/lib/connection.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/connection.h | 16 |
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 | |||
@@ -17,18 +17,18 @@ namespace OpieTooth { | |||
17 | * in a OO way | 17 | * in a OO way |
18 | */ | 18 | */ |
19 | 19 | ||
20 | class Connection { | 20 | class ConnectionState { |
21 | public: | 21 | public: |
22 | /** | 22 | /** |
23 | * typedef for a list of | 23 | * typedef for a list of |
24 | * Connections | 24 | * Connections |
25 | */ | 25 | */ |
26 | typedef QValueList<Connection> ValueList; | 26 | typedef QValueList<ConnectionState> ValueList; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * Copy c'tor. | 29 | * Copy c'tor. |
30 | */ | 30 | */ |
31 | Connection( const Connection& ); | 31 | ConnectionState( const ConnectionState& ); |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Main c'tor | 34 | * Main c'tor |
@@ -44,7 +44,7 @@ namespace OpieTooth { | |||
44 | * < ACL 00:02:C7:09:2B:53 handle 1 state 1 lm MASTER | 44 | * < ACL 00:02:C7:09:2B:53 handle 1 state 1 lm MASTER |
45 | * | 45 | * |
46 | */ | 46 | */ |
47 | Connection( bool in, | 47 | ConnectionState( bool in, |
48 | const QString& conType, | 48 | const QString& conType, |
49 | const QString& mac, | 49 | const QString& mac, |
50 | int handle, | 50 | int handle, |
@@ -55,7 +55,7 @@ namespace OpieTooth { | |||
55 | * C'tor for compability with QValueList | 55 | * C'tor for compability with QValueList |
56 | * QValueList needs this c'tor. | 56 | * QValueList needs this c'tor. |
57 | */ | 57 | */ |
58 | Connection(); | 58 | ConnectionState(); |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * Set if the connection is incoming or | 61 | * Set if the connection is incoming or |
@@ -131,11 +131,11 @@ namespace OpieTooth { | |||
131 | /** | 131 | /** |
132 | * copy c'tor | 132 | * copy c'tor |
133 | */ | 133 | */ |
134 | Connection &operator=( const Connection& ); | 134 | ConnectionState &operator=( const ConnectionState& ); |
135 | 135 | ||
136 | private: | 136 | private: |
137 | class ConnectionPrivate; | 137 | class ConnectionStatePrivate; |
138 | ConnectionPrivate *d; | 138 | ConnectionStatePrivate *d; |
139 | bool m_direction : 1; | 139 | bool m_direction : 1; |
140 | QString m_contype; | 140 | QString m_contype; |
141 | QString m_mac; | 141 | QString m_mac; |