summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/services.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/services.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h
index 8e9378a..65de049 100644
--- a/noncore/net/opietooth/lib/services.h
+++ b/noncore/net/opietooth/lib/services.h
@@ -28,3 +28,3 @@ namespace OpieTooth {
*/
- ProfileDescriptor(const QString &id, uint idInt, uint version );
+ ProfileDescriptor(const QString &id, int idInt, int version );
/**
@@ -43,5 +43,5 @@ namespace OpieTooth {
/**
- * sets the uint id
+ * sets the int id
*/
- void setId(uint );
+ void setId(int );
/**
@@ -49,3 +49,3 @@ namespace OpieTooth {
*/
- uint idInt()const;
+ int idInt()const;
/**
@@ -53,3 +53,3 @@ namespace OpieTooth {
*/
- uint version()const;
+ int version()const;
/**
@@ -57,3 +57,3 @@ namespace OpieTooth {
*/
- void setVersion(uint version );
+ void setVersion(int version );
/**
@@ -68,4 +68,4 @@ namespace OpieTooth {
QString m_id;
- uint m_idInt;
- uint m_version;
+ int m_idInt;
+ int m_version;
};
@@ -86,3 +86,3 @@ namespace OpieTooth {
*/
- ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ?
+ ProtocolDescriptor(const QString&, int, int port = -1 ); // Q_UINT8 ?
ProtocolDescriptor(const ProtocolDescriptor& );
@@ -91,6 +91,6 @@ namespace OpieTooth {
void setName(const QString& );
- uint id()const;
- void setId(uint );
- uint port()const;
- void setPort(uint );
+ int id()const;
+ void setId(int );
+ int port()const;
+ void setPort(int );
ProtocolDescriptor &operator=( const ProtocolDescriptor& );
@@ -100,4 +100,4 @@ namespace OpieTooth {
QString m_name;
- uint m_number;
- uint m_channel;
+ int m_number;
+ int m_channel;
};