From d0401e1888a9a1af6be3a737484afca699642d15 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 12 Jul 2002 17:18:12 +0000 Subject: The files --- (limited to 'noncore/net/opietooth/manager/btconnectionitem.cpp') 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 +#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; +} + -- cgit v0.9.0.2