Diffstat (limited to 'noncore/net/opietooth/manager/btconnectionitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/btconnectionitem.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/btconnectionitem.cpp b/noncore/net/opietooth/manager/btconnectionitem.cpp index b57d1b3..c565c47 100644 --- a/noncore/net/opietooth/manager/btconnectionitem.cpp +++ b/noncore/net/opietooth/manager/btconnectionitem.cpp | |||
@@ -13,12 +13,30 @@ BTConnectionItem::~BTConnectionItem() { | |||
13 | 13 | ||
14 | } | 14 | } |
15 | QString BTConnectionItem::type() const { | 15 | QString BTConnectionItem::type() const { |
16 | return QString::fromLatin1("connection"); | 16 | return QString::fromLatin1("connection"); |
17 | } | 17 | } |
18 | int BTConnectionItem::typeId() const { | 18 | int BTConnectionItem::typeId() const { |
19 | return Connection; | 19 | return Connection; |
20 | } | 20 | } |
21 | ConnectionState BTConnectionItem::connection() const { | 21 | ConnectionState BTConnectionItem::connection() const { |
22 | return m_con; | 22 | return m_con; |
23 | } | 23 | } |
24 | 24 | ||
25 | void BTConnectionItem::setName( QString name ) { | ||
26 | m_name = name; | ||
27 | setText( 0, m_name ); | ||
28 | } | ||
29 | |||
30 | QString BTConnectionItem::name() { | ||
31 | return m_name; | ||
32 | } | ||
33 | |||
34 | |||
35 | void BTConnectionItem::setSignalStrength( QString strength ) { | ||
36 | m_signalStrength = strength; | ||
37 | setText( 2, m_signalStrength ); | ||
38 | } | ||
39 | |||
40 | QString BTConnectionItem::signalStrength() { | ||
41 | return m_signalStrength; | ||
42 | } | ||