blob: 7e5bd95f38c7f857289d9fc1a414a99785a0f673 (
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 startpanconnection_h
#define startpanconnection_h
#include <qobject.h>
#include "connection.h"
#include <opie/oprocess.h>
namespace OpieTooth {
class StartPanConnection : StartConnection {
Q_OBJECT
public:
StartPanConnection();
StartPanConnection( QString mac );
~StartPanConnection();
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_panConnect;
private slots:
void slotExited( OProcess* proc );
void slotStdOut( OProcess* proc, char* chars, int len );
};
}
#endif
|