summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcommconfhandler.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/rfcommconfhandler.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcommconfhandler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/net/opietooth/manager/rfcommconfhandler.h b/noncore/net/opietooth/manager/rfcommconfhandler.h
index e13c833..46aaa26 100644
--- a/noncore/net/opietooth/manager/rfcommconfhandler.h
+++ b/noncore/net/opietooth/manager/rfcommconfhandler.h
@@ -8,26 +8,29 @@
8 8
9namespace OpieTooth { 9namespace OpieTooth {
10 10
11 class RfCommConfObject { 11 class RfCommConfObject {
12 12
13 public: 13 public:
14 RfCommConfObject( int number, QString mac, int channel, QString comment ); 14 RfCommConfObject( int number, QString mac, int channel, QString comment,
15 bool bind);
15 ~RfCommConfObject(); 16 ~RfCommConfObject();
16 17
17 void setNumber( int number ); 18 void setNumber( int number );
18 int number() { return m_number; }; 19 int number() { return m_number; };
19 void setMac( QString mac ); 20 void setMac( QString mac );
20 QString mac() { return m_mac; }; 21 QString mac() { return m_mac; };
21 void setChannel( int channel ); 22 void setChannel( int channel );
22 int channel() { return m_channel; }; 23 int channel() { return m_channel; };
23 void setComment( QString comment ); 24 void setComment( QString comment );
24 QString comment() { return m_comment; }; 25 QString comment() { return m_comment; };
25 26 bool isBind() { return m_doBind; }
27 void doBind(bool arg) { m_doBind = arg; }
26 28
27 private: 29 private:
30 bool m_doBind;
28 int m_number; 31 int m_number;
29 QString m_mac; 32 QString m_mac;
30 int m_channel; 33 int m_channel;
31 QString m_comment; 34 QString m_comment;
32 35
33 }; 36 };