summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/btconnectionitem.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/btconnectionitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/btconnectionitem.cpp18
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}
15QString BTConnectionItem::type() const { 15QString BTConnectionItem::type() const {
16 return QString::fromLatin1("connection"); 16 return QString::fromLatin1("connection");
17} 17}
18int BTConnectionItem::typeId() const { 18int BTConnectionItem::typeId() const {
19 return Connection; 19 return Connection;
20} 20}
21ConnectionState BTConnectionItem::connection() const { 21ConnectionState BTConnectionItem::connection() const {
22 return m_con; 22 return m_con;
23} 23}
24 24
25void BTConnectionItem::setName( QString name ) {
26 m_name = name;
27 setText( 0, m_name );
28}
29
30QString BTConnectionItem::name() {
31 return m_name;
32}
33
34
35void BTConnectionItem::setSignalStrength( QString strength ) {
36 m_signalStrength = strength;
37 setText( 2, m_signalStrength );
38}
39
40QString BTConnectionItem::signalStrength() {
41 return m_signalStrength;
42}