summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/connection.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/connection.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/connection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/connection.cpp b/noncore/net/opietooth/lib/connection.cpp
index ef7d925..5e35463 100644
--- a/noncore/net/opietooth/lib/connection.cpp
+++ b/noncore/net/opietooth/lib/connection.cpp
@@ -1,29 +1,33 @@
1 1
2#include "connection.h" 2#include "connection.h"
3 3
4using namespace OpieTooth; 4using namespace OpieTooth;
5 5
6
7
8
9
6ConnectionState::ConnectionState() { 10ConnectionState::ConnectionState() {
7 m_direction = Incoming; 11 m_direction = Incoming;
8 m_handle = -1; 12 m_handle = -1;
9 m_state = -1; 13 m_state = -1;
10 m_linkMode = -1; 14 m_linkMode = -1;
11}; 15};
12 16
13ConnectionState::ConnectionState( const ConnectionState& con1 ) { 17ConnectionState::ConnectionState( const ConnectionState& con1 ) {
14 (*this) = con1; 18 (*this) = con1;
15} 19}
16 20
17 21
18ConnectionState::ConnectionState( bool in, 22ConnectionState::ConnectionState( bool in,
19 const QString& conType, 23 const QString& conType,
20 const QString& mac, 24 const QString& mac,
21 int handle, 25 int handle,
22 int state, 26 int state,
23 int linkMode ) { 27 int linkMode ) {
24 m_direction = in; 28 m_direction = in;
25 m_contype = conType; 29 m_contype = conType;
26 m_mac = mac; 30 m_mac = mac;
27 m_handle = handle; 31 m_handle = handle;
28 m_state = state; 32 m_state = state;
29 m_linkMode = linkMode; 33 m_linkMode = linkMode;