summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/btconnectionitem.cpp
authorzecke <zecke>2002-07-12 17:18:12 (UTC)
committer zecke <zecke>2002-07-12 17:18:12 (UTC)
commitd0401e1888a9a1af6be3a737484afca699642d15 (patch) (side-by-side diff)
treee72f54007424a2f8717584933c9a1040184feb81 /noncore/net/opietooth/manager/btconnectionitem.cpp
parent89dce758480cc90502ad14b6c4cf80774e6c1845 (diff)
downloadopie-d0401e1888a9a1af6be3a737484afca699642d15.zip
opie-d0401e1888a9a1af6be3a737484afca699642d15.tar.gz
opie-d0401e1888a9a1af6be3a737484afca699642d15.tar.bz2
The files
Diffstat (limited to 'noncore/net/opietooth/manager/btconnectionitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/btconnectionitem.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/btconnectionitem.cpp b/noncore/net/opietooth/manager/btconnectionitem.cpp
new file mode 100644
index 0000000..6fb9c11
--- a/dev/null
+++ b/noncore/net/opietooth/manager/btconnectionitem.cpp
@@ -0,0 +1,23 @@
+#include <connection.h>
+#include "btconnectionitem.h"
+
+using namespace OpieTooth;
+
+BTConnectionItem::BTConnectionItem( QListView* parent, const ConnectionState& con )
+ : BTListItem( parent ){
+ m_con = con;
+ setText(0, m_con.mac() );
+}
+BTConnectionItem::~BTConnectionItem() {
+
+}
+QString BTConnectionItem::type() const {
+ return QString::fromLatin1("connection");
+}
+int BTConnectionItem::typeId() const {
+ return Connection;
+}
+ConnectionState BTConnectionItem::connection() const {
+ return m_con;
+}
+