summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/startdunconnection.h
blob: 43a852a3de215956d78e7e99976510fbfb701044 (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
#ifndef startdunconnection_h
#define startdunconnection_h

#include <qobject.h>
#include "connection.h"
#include <opie/oprocess.h>

namespace OpieTooth {

    class StartDunConnection : StartConnection {

	Q_OBJECT

    public:
	StartDunConnection();
	StartDunConnection( QString mac );
	~StartDunConnection();

	QString name();
	void setName( QString name );
	StartConnection::ConnectionType type();
	void setConnectionType( );
	void start();
	void stop();

    private:
	QString m_name;
	QString m_mac;
	ConnectionType m_connectionType;
	OProcess* m_dunConnect;
	
    private slots:
	void slotExited( OProcess* proc );
                void slotStdOut( OProcess* proc, char* chars, int len );
    };

 
}

#endif