Diffstat (limited to 'noncore/net/opietooth/lib/services.cc') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/services.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/noncore/net/opietooth/lib/services.cc b/noncore/net/opietooth/lib/services.cc index 75c1bd6..d91e4a1 100644 --- a/noncore/net/opietooth/lib/services.cc +++ b/noncore/net/opietooth/lib/services.cc | |||
@@ -7,7 +7,7 @@ using namespace OpieTooth; | |||
7 | Services::ProfileDescriptor::ProfileDescriptor(){ | 7 | Services::ProfileDescriptor::ProfileDescriptor(){ |
8 | 8 | ||
9 | } | 9 | } |
10 | Services::ProfileDescriptor::ProfileDescriptor(const QString &id, uint idInt, uint version ){ | 10 | Services::ProfileDescriptor::ProfileDescriptor(const QString &id, int idInt, int version ){ |
11 | m_id = id; | 11 | m_id = id; |
12 | m_idInt = idInt; | 12 | m_idInt = idInt; |
13 | m_version = version; | 13 | m_version = version; |
@@ -21,16 +21,16 @@ QString Services::ProfileDescriptor::id() const { | |||
21 | void Services::ProfileDescriptor::setId( const QString& id ){ | 21 | void Services::ProfileDescriptor::setId( const QString& id ){ |
22 | m_id = id; | 22 | m_id = id; |
23 | } | 23 | } |
24 | void Services::ProfileDescriptor::setId(uint id ){ | 24 | void Services::ProfileDescriptor::setId(int id ){ |
25 | m_idInt = id; | 25 | m_idInt = id; |
26 | } | 26 | } |
27 | uint Services::ProfileDescriptor::idInt()const{ | 27 | int Services::ProfileDescriptor::idInt()const{ |
28 | return m_idInt; | 28 | return m_idInt; |
29 | } | 29 | } |
30 | uint Services::ProfileDescriptor::version() const{ | 30 | int Services::ProfileDescriptor::version() const{ |
31 | return m_version; | 31 | return m_version; |
32 | } | 32 | } |
33 | void Services::ProfileDescriptor::setVersion(uint version){ | 33 | void Services::ProfileDescriptor::setVersion(int version){ |
34 | m_version = version; | 34 | m_version = version; |
35 | } | 35 | } |
36 | Services::ProfileDescriptor& Services::ProfileDescriptor::operator=( const Services::ProfileDescriptor& prof){ | 36 | Services::ProfileDescriptor& Services::ProfileDescriptor::operator=( const Services::ProfileDescriptor& prof){ |
@@ -54,8 +54,8 @@ Services::ProtocolDescriptor::ProtocolDescriptor(){ | |||
54 | m_channel = 0; | 54 | m_channel = 0; |
55 | } | 55 | } |
56 | Services::ProtocolDescriptor::ProtocolDescriptor(const QString& name, | 56 | Services::ProtocolDescriptor::ProtocolDescriptor(const QString& name, |
57 | uint number, | 57 | int number, |
58 | uint channel){ | 58 | int channel){ |
59 | m_name = name; | 59 | m_name = name; |
60 | m_number = number; | 60 | m_number = number; |
61 | m_channel = channel; | 61 | m_channel = channel; |
@@ -72,16 +72,16 @@ QString Services::ProtocolDescriptor::name() const{ | |||
72 | void Services::ProtocolDescriptor::setName(const QString& name ){ | 72 | void Services::ProtocolDescriptor::setName(const QString& name ){ |
73 | m_name = name; | 73 | m_name = name; |
74 | } | 74 | } |
75 | uint Services::ProtocolDescriptor::id()const { | 75 | int Services::ProtocolDescriptor::id()const { |
76 | return m_number; | 76 | return m_number; |
77 | } | 77 | } |
78 | void Services::ProtocolDescriptor::setId( uint id ){ | 78 | void Services::ProtocolDescriptor::setId( int id ){ |
79 | m_number = id; | 79 | m_number = id; |
80 | } | 80 | } |
81 | uint Services::ProtocolDescriptor::port()const { | 81 | int Services::ProtocolDescriptor::port()const { |
82 | return m_channel; | 82 | return m_channel; |
83 | } | 83 | } |
84 | void Services::ProtocolDescriptor::setPort( uint port ){ | 84 | void Services::ProtocolDescriptor::setPort( int port ){ |
85 | m_channel = port; | 85 | m_channel = port; |
86 | } | 86 | } |
87 | Services::ProtocolDescriptor &Services::ProtocolDescriptor::operator=( const Services::ProtocolDescriptor& desc ){ | 87 | Services::ProtocolDescriptor &Services::ProtocolDescriptor::operator=( const Services::ProtocolDescriptor& desc ){ |