summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/btconnectionitem.h
blob: 9ab745ee11e9f2daf0fc7cdd04d9d9704d2dd068 (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

#ifndef OPIE_TOOTH_BT_CONNECTION_ITEM_H
#define OPIE_TOOTH_BT_CONNECTION_ITEM_H


#include "btlistitem.h"

namespace OpieTooth {

    class ConnectionState;
    class BTConnectionItem : public BTListItem {
    public:
        BTConnectionItem( QListView* parent, const ConnectionState& state );
        ~BTConnectionItem();
        QString type()const;
	QString name();
	QString signalStrength();
        int typeId() const;
        ConnectionState connection()const;
	void setSignalStrength( QString );
	void setName( QString );

    private:
        ConnectionState m_con;
	QString m_name;
	QString m_signalStrength;
    };

};


#endif