summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/btlistitem.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/btlistitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/btlistitem.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/noncore/net/opietooth/manager/btlistitem.h b/noncore/net/opietooth/manager/btlistitem.h
index d7ce03b..6b529d1 100644
--- a/noncore/net/opietooth/manager/btlistitem.h
+++ b/noncore/net/opietooth/manager/btlistitem.h
@@ -6,27 +6,12 @@
6namespace OpieTooth { 6namespace OpieTooth {
7 7
8 class BTListItem : public QListViewItem { 8 class BTListItem : public QListViewItem {
9
10 public: 9 public:
10 enum Types { Device =0, Service, Connection };
11 BTListItem( QListView * parent ); 11 BTListItem( QListView * parent );
12 BTListItem( QListViewItem * parent ); 12 BTListItem( QListViewItem * parent );
13 13 virtual QString type() const = 0;
14 // name, and then mac and then servicetype 14 virtual int typeId() const = 0;
15 BTListItem( QListView * , const QString&, const QString&, const QString& );
16 BTListItem( QListViewItem * parent , const QString&, const QString& , const QString& );
17 ~BTListItem();
18
19 void setMac( const QString& );
20 QString mac()const;
21 void setName( const QString& );
22 QString name()const;
23 void setType( const QString& );
24 QString type()const;
25 private:
26 QString m_name;
27 QString m_mac;
28 QString m_type;
29
30 }; 15 };
31}; 16};
32 17