author | harlekin <harlekin> | 2002-06-23 19:51:09 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-23 19:51:09 (UTC) |
commit | ed7e4fe3f0f838957c0830b8357d2252327dc938 (patch) (unidiff) | |
tree | 08d5ce4e9fd81eee7d8d40b4c6a97b79000f6ae4 | |
parent | 4e1cc7a828c8b56f75f03cd037ec3b5a893b9188 (diff) | |
download | opie-ed7e4fe3f0f838957c0830b8357d2252327dc938.zip opie-ed7e4fe3f0f838957c0830b8357d2252327dc938.tar.gz opie-ed7e4fe3f0f838957c0830b8357d2252327dc938.tar.bz2 |
make more oo listview entries
-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 | ||