Diffstat (limited to 'noncore/net/opietooth/lib/connection.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/connection.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/noncore/net/opietooth/lib/connection.cpp b/noncore/net/opietooth/lib/connection.cpp index 1f9baaf..ef7d925 100644 --- a/noncore/net/opietooth/lib/connection.cpp +++ b/noncore/net/opietooth/lib/connection.cpp | |||
@@ -5,3 +5,3 @@ using namespace OpieTooth; | |||
5 | 5 | ||
6 | Connection::Connection() { | 6 | ConnectionState::ConnectionState() { |
7 | m_direction = Incoming; | 7 | m_direction = Incoming; |
@@ -12,3 +12,3 @@ Connection::Connection() { | |||
12 | 12 | ||
13 | Connection::Connection( const Connection& con1 ) { | 13 | ConnectionState::ConnectionState( const ConnectionState& con1 ) { |
14 | (*this) = con1; | 14 | (*this) = con1; |
@@ -17,3 +17,3 @@ Connection::Connection( const Connection& con1 ) { | |||
17 | 17 | ||
18 | Connection::Connection( bool in, | 18 | ConnectionState::ConnectionState( bool in, |
19 | const QString& conType, | 19 | const QString& conType, |
@@ -32,3 +32,3 @@ Connection::Connection( bool in, | |||
32 | 32 | ||
33 | void Connection::setDirection( bool incoming ) { | 33 | void ConnectionState::setDirection( bool incoming ) { |
34 | m_direction = incoming; | 34 | m_direction = incoming; |
@@ -36,3 +36,3 @@ void Connection::setDirection( bool incoming ) { | |||
36 | 36 | ||
37 | bool Connection::direction() const { | 37 | bool ConnectionState::direction() const { |
38 | return m_direction; | 38 | return m_direction; |
@@ -40,3 +40,3 @@ bool Connection::direction() const { | |||
40 | 40 | ||
41 | void Connection::setConnectionMode( const QString& conType ) { | 41 | void ConnectionState::setConnectionMode( const QString& conType ) { |
42 | m_contype = conType; | 42 | m_contype = conType; |
@@ -44,3 +44,3 @@ void Connection::setConnectionMode( const QString& conType ) { | |||
44 | 44 | ||
45 | QString Connection::connectionMode() const { | 45 | QString ConnectionState::connectionMode() const { |
46 | return m_contype; | 46 | return m_contype; |
@@ -48,3 +48,3 @@ QString Connection::connectionMode() const { | |||
48 | 48 | ||
49 | void Connection::setMac( const QString& mac ) { | 49 | void ConnectionState::setMac( const QString& mac ) { |
50 | m_mac = mac; | 50 | m_mac = mac; |
@@ -52,3 +52,3 @@ void Connection::setMac( const QString& mac ) { | |||
52 | 52 | ||
53 | QString Connection::mac() const{ | 53 | QString ConnectionState::mac() const{ |
54 | return m_mac; | 54 | return m_mac; |
@@ -56,3 +56,3 @@ QString Connection::mac() const{ | |||
56 | 56 | ||
57 | void Connection::setHandle( int handle ) { | 57 | void ConnectionState::setHandle( int handle ) { |
58 | m_handle = handle; | 58 | m_handle = handle; |
@@ -60,3 +60,3 @@ void Connection::setHandle( int handle ) { | |||
60 | 60 | ||
61 | int Connection::handle() const{ | 61 | int ConnectionState::handle() const{ |
62 | return m_handle; | 62 | return m_handle; |
@@ -64,3 +64,3 @@ int Connection::handle() const{ | |||
64 | 64 | ||
65 | void Connection::setState( int state ) { | 65 | void ConnectionState::setState( int state ) { |
66 | m_state = state; | 66 | m_state = state; |
@@ -68,3 +68,3 @@ void Connection::setState( int state ) { | |||
68 | 68 | ||
69 | int Connection::state()const { | 69 | int ConnectionState::state()const { |
70 | return m_state; | 70 | return m_state; |
@@ -72,3 +72,3 @@ int Connection::state()const { | |||
72 | 72 | ||
73 | void Connection::setLinkMode( int linkMode ) { | 73 | void ConnectionState::setLinkMode( int linkMode ) { |
74 | m_linkMode = linkMode; | 74 | m_linkMode = linkMode; |
@@ -76,3 +76,3 @@ void Connection::setLinkMode( int linkMode ) { | |||
76 | 76 | ||
77 | int Connection::linkMode()const{ | 77 | int ConnectionState::linkMode()const{ |
78 | return m_linkMode; | 78 | return m_linkMode; |
@@ -80,3 +80,3 @@ int Connection::linkMode()const{ | |||
80 | 80 | ||
81 | Connection &Connection::operator=( const Connection& con1 ) { | 81 | ConnectionState &ConnectionState::operator=( const ConnectionState& con1 ) { |
82 | m_direction = con1.m_direction; | 82 | m_direction = con1.m_direction; |