summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcommassigndialogitem.h
blob: cc9c8dbc6d71971c0ac22a669518322859092fd4 (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
34
35
36
37
38
39
40
41
42
#ifndef RFCOMMDIALOGITEM
#define RFCOMMDIALOGITEM

#include "rfcommdialogitembase.h"

#include <qwidget.h>

namespace OpieTooth {

    class RfcommDialogItem : public RfcommDialogItemBase {
	
	Q_OBJECT

    public:
	RfcommDialogItem( QWidget* parent = 0,  const char* name = 0, WFlags fl = 0 );
	~RfcommDialogItem();
        
	// number if the rfcomm device
	int ident();
	// devices mac address
	QString mac();
	int channel();	
	QString comment();
    bool isBind();

    void setIdent( int ident );
	void setMac( const QString& mac  );
	void setChannel( int channel );
	void setComment( const QString& comment );
    void setBind(bool dobind);

    private:


	int m_ident;
   
};


}

#endif