blob: d7ce03b40aad93792f3a22dab8ff45ff1d16a656 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef BTLISTITEM_H
#define BTLISTITEM_H
#include <qlistview.h>
namespace OpieTooth {
class BTListItem : public QListViewItem {
public:
BTListItem( QListView * parent );
BTListItem( QListViewItem * parent );
// name, and then mac and then servicetype
BTListItem( QListView * , const QString&, const QString&, const QString& );
BTListItem( QListViewItem * parent , const QString&, const QString& , const QString& );
~BTListItem();
void setMac( const QString& );
QString mac()const;
void setName( const QString& );
QString name()const;
void setType( const QString& );
QString type()const;
private:
QString m_name;
QString m_mac;
QString m_type;
};
};
#endif
|