-rw-r--r-- | noncore/net/opietooth/manager/btlistitem.cpp | 30 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/btlistitem.h | 24 |
2 files changed, 54 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/btlistitem.cpp b/noncore/net/opietooth/manager/btlistitem.cpp new file mode 100644 index 0000000..4901710 --- a/dev/null +++ b/noncore/net/opietooth/manager/btlistitem.cpp | |||
@@ -0,0 +1,30 @@ | |||
1 | |||
2 | #include "btlistitem.h" | ||
3 | |||
4 | namespace OpieTooth { | ||
5 | |||
6 | |||
7 | BTListItem::BTListItem( QListView * parent ) : QListViewItem( parent ) { | ||
8 | |||
9 | } | ||
10 | |||
11 | BTListItem::BTListItem( QListViewItem * parent ) : QListViewItem( parent ) { | ||
12 | |||
13 | } | ||
14 | |||
15 | |||
16 | // name, and then mac and then servicetype | ||
17 | BTListItem::BTListItem( QListView * parent, QString name , QString mac, QString type ) | ||
18 | : QListViewItem( parent, name, mac, type ){ | ||
19 | |||
20 | } | ||
21 | |||
22 | BTListItem::BTListItem( QListViewItem * parent , QString name, QString mac, QString type ) | ||
23 | : QListViewItem( parent, name, mac, type ){ | ||
24 | |||
25 | } | ||
26 | |||
27 | BTListItem::~BTListItem() { | ||
28 | } | ||
29 | |||
30 | } | ||
diff --git a/noncore/net/opietooth/manager/btlistitem.h b/noncore/net/opietooth/manager/btlistitem.h new file mode 100644 index 0000000..28612b0 --- a/dev/null +++ b/noncore/net/opietooth/manager/btlistitem.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef BTLISTITEM_H | ||
2 | #define BTLISTITEM_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | |||
6 | namespace OpieTooth { | ||
7 | |||
8 | class BTListItem : public QListViewItem { | ||
9 | Q_OBJECT | ||
10 | |||
11 | public: | ||
12 | |||
13 | BTListItem( QListView * parent ); | ||
14 | BTListItem( QListViewItem * parent ); | ||
15 | |||
16 | // name, and then mac and then servicetype | ||
17 | BTListItem( QListView * , QString, QString, QString ); | ||
18 | BTListItem( QListViewItem * parent , QString, QString , QString ); | ||
19 | ~BTListItem(); | ||
20 | |||
21 | } | ||
22 | } | ||
23 | |||
24 | #endif | ||