Diffstat (limited to 'noncore/net/opietooth/manager/btlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/btlistitem.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/btlistitem.cpp b/noncore/net/opietooth/manager/btlistitem.cpp index 4901710..19d1057 100644 --- a/noncore/net/opietooth/manager/btlistitem.cpp +++ b/noncore/net/opietooth/manager/btlistitem.cpp | |||
@@ -6,25 +6,28 @@ namespace OpieTooth { | |||
6 | 6 | ||
7 | BTListItem::BTListItem( QListView * parent ) : QListViewItem( parent ) { | 7 | BTListItem::BTListItem( QListView * parent ) : QListViewItem( parent ) { |
8 | 8 | ||
9 | } | 9 | } |
10 | 10 | ||
11 | BTListItem::BTListItem( QListViewItem * parent ) : QListViewItem( parent ) { | 11 | BTListItem::BTListItem( QListViewItem * parent ) : QListViewItem( parent ) { |
12 | 12 | ||
13 | } | 13 | } |
14 | 14 | ||
15 | 15 | ||
16 | // name, and then mac and then servicetype | 16 | // name, and then mac and then servicetype |
17 | BTListItem::BTListItem( QListView * parent, QString name , QString mac, QString type ) | 17 | BTListItem::BTListItem( QListView * parent, QString name , QString mac, QString type ) |
18 | : QListViewItem( parent, name, mac, type ){ | 18 | : QListViewItem( parent, name ){ |
19 | setText(4, mac); | ||
20 | setText(5, type); | ||
19 | 21 | ||
20 | } | 22 | } |
21 | 23 | ||
22 | BTListItem::BTListItem( QListViewItem * parent , QString name, QString mac, QString type ) | 24 | BTListItem::BTListItem( QListViewItem * parent , QString name, QString mac, QString type ) |
23 | : QListViewItem( parent, name, mac, type ){ | 25 | : QListViewItem( parent, name ){ |
24 | 26 | setText(4, mac); | |
27 | setText(5, type); | ||
25 | } | 28 | } |
26 | 29 | ||
27 | BTListItem::~BTListItem() { | 30 | BTListItem::~BTListItem() { |
28 | } | 31 | } |
29 | 32 | ||
30 | } | 33 | }; |