summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/btlistitem.h
blob: 8963caa7a832ab96f99ba7ede88ebd7776e35154 (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 * ,  QString, QString, QString  );
        BTListItem( QListViewItem * parent , QString, QString , QString );
        ~BTListItem();

        void setMac( QString );
        QString mac();
        void setName( QString );
        QString name();
        void setType( QString );
        QString type();
    private:
        QString m_name;
        QString m_mac;
        QString m_type;

    };
};

#endif